1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-09 04:51:56 +00:00

gofmt -s -w .

Former-commit-id: 6cca675303187f10377a7a713b2e7b3cdf16fd18
This commit is contained in:
kataras
2017-06-10 03:56:42 +03:00
parent c4f5fae561
commit 26c315cdb1
10 changed files with 58 additions and 8 deletions

View File

@@ -588,7 +588,7 @@ func TypeByExtension(ext string) (typ string) {
return typ
}
// TypeByFilename, saem as TypeByExtension
// TypeByFilename same as TypeByExtension
// but receives a filename path instead.
func TypeByFilename(fullFilename string) string {
ext := filepath.Ext(fullFilename)