瀏覽代碼

Fix commas with multiple pages

Lucas Stadler 10 年之前
父節點
當前提交
041e07c76a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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(", ")