From e764a84fdfa3ac71fd420cb37bd0929feefe7dde Mon Sep 17 00:00:00 2001 From: yosssi Date: Mon, 12 May 2014 18:15:42 +0900 Subject: [PATCH] Fix the following things: * Change `for name, _ := range _bindata` to `for name := range _bindata {` * Format the souce codes --- toc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toc.go b/toc.go index 5e4d982..924a701 100644 --- a/toc.go +++ b/toc.go @@ -42,8 +42,8 @@ func Asset(name string) ([]byte, error) { // AssetNames returns the names of the assets. func AssetNames() []string { names := make([]string, 0, len(_bindata)) - for name, _ := range _bindata { - names= append(names, name) + for name := range _bindata { + names = append(names, name) } return names }