Fix the following things:
* Change `for name, _ := range _bindata` to `for name := range _bindata {` * Format the souce codes
This commit is contained in:
parent
57a8ec74ce
commit
e764a84fdf
4
toc.go
4
toc.go
|
@ -42,8 +42,8 @@ func Asset(name string) ([]byte, error) {
|
||||||
// AssetNames returns the names of the assets.
|
// AssetNames returns the names of the assets.
|
||||||
func AssetNames() []string {
|
func AssetNames() []string {
|
||||||
names := make([]string, 0, len(_bindata))
|
names := make([]string, 0, len(_bindata))
|
||||||
for name, _ := range _bindata {
|
for name := range _bindata {
|
||||||
names= append(names, name)
|
names = append(names, name)
|
||||||
}
|
}
|
||||||
return names
|
return names
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user