tracks/go/exercises/word-count/example_gen.go in trackler-2.0.6.11 vs tracks/go/exercises/word-count/example_gen.go in trackler-2.0.6.12
- old
+ new
@@ -13,10 +13,10 @@
t, err := template.New("").Parse(tmpl)
if err != nil {
log.Fatal(err)
}
var j js
- if err := gen.Gen("word-count.json", &j, t); err != nil {
+ if err := gen.Gen("word-count", &j, t); err != nil {
log.Fatal(err)
}
}
// The JSON structure we expect to be able to unmarshal into