diff options
author | Wolfy-J <[email protected]> | 2019-05-04 23:07:30 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2019-05-04 23:07:30 +0300 |
commit | 3800c27ff9ec2641248d6dc2ce2f7ab56c237664 (patch) | |
tree | c8026df76f0fea5519f958d310210e1da46f369d /service/http/uploads_config.go | |
parent | 2afa417f4f46b31b79043e3e56513d51e4ad2fde (diff) |
golint
Diffstat (limited to 'service/http/uploads_config.go')
-rw-r--r-- | service/http/uploads_config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/http/uploads_config.go b/service/http/uploads_config.go index 9f62d779..3f655064 100644 --- a/service/http/uploads_config.go +++ b/service/http/uploads_config.go @@ -31,7 +31,7 @@ func (cfg *UploadsConfig) TmpDir() string { return os.TempDir() } -// AlwaysForbid 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 *UploadsConfig) Forbids(filename string) bool { ext := strings.ToLower(path.Ext(filename)) |