diff options
Diffstat (limited to 'modules/public/static.go')
-rw-r--r-- | modules/public/static.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/public/static.go b/modules/public/static.go index a81efacfa4..d373c712ee 100644 --- a/modules/public/static.go +++ b/modules/public/static.go @@ -41,7 +41,7 @@ func Asset(name string) ([]byte, error) { func AssetNames() []string { realFS := Assets.(vfsgen۰FS) - var results = make([]string, 0, len(realFS)) + results := make([]string, 0, len(realFS)) for k := range realFS { results = append(results, k[1:]) } |