diff options
author | Wolfy-J <[email protected]> | 2018-06-15 15:54:14 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-15 15:54:14 +0300 |
commit | dfef39c64132192d13e2315364a74f1b0244791e (patch) | |
tree | b0959bbbb1ca5a16d94646454d7f2e9340081915 /service/static | |
parent | ccd297dbe2586b3fd29854f72f795be9e818522e (diff) |
readme, samples, golint, build scripts
Diffstat (limited to 'service/static')
-rw-r--r-- | service/static/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/static/config.go b/service/static/config.go index d55fcd66..1020b8cd 100644 --- a/service/static/config.go +++ b/service/static/config.go @@ -20,7 +20,7 @@ type Config struct { Forbid []string } -// Forbid must return true if file extension is not allowed for the upload. +// Forbids must return true if file extension is not allowed for the upload. func (cfg *Config) Forbids(filename string) bool { ext := strings.ToLower(path.Ext(filename)) |