From 8007dfd67507eb98fdc66320678266a4a1777a73 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Mon, 22 Aug 2016 21:09:53 -0700 Subject: [PATCH] Simplify --- common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.go b/common.go index 8f737b2..2af51e8 100644 --- a/common.go +++ b/common.go @@ -120,7 +120,7 @@ func outputTermJson(outputDir string, entries []termSource, entities map[string] defCnt := len(dict.defs) for i := 0; i < defCnt; i += REF_STEP_COUNT { - outputRef, err := os.Create(path.Join(outputDir, fmt.Sprintf("ref_%0.3d.json", i/REF_STEP_COUNT))) + outputRef, err := os.Create(path.Join(outputDir, fmt.Sprintf("ref_%d.json", i/REF_STEP_COUNT))) if err != nil { return err }