Explorar el Código

Fix commas with multiple pages

Lucas Stadler %!s(int64=10) %!d(string=hace) años
padre
commit
041e07c76a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      go/unpaginate/unpaginate.go

+ 1 - 1
go/unpaginate/unpaginate.go

@ -23,6 +23,7 @@ func main() {
23 23
24 24
	os.Stdout.WriteString("[\n")
25 25
26
	first := true
26 27
	for url != "" {
27 28
		res, err := http.Get(url)
28 29
		if err != nil {
@ -37,7 +38,6 @@ func main() {
37 38
			os.Exit(1)
38 39
		}
39 40
40
		first := true
41 41
		for decoder.More() {
42 42
			if !first {
43 43
				os.Stdout.WriteString(", ")