mirror of
https://github.com/kataras/iris.git
synced 2026-01-10 21:45:57 +00:00
Add an example for httprouter_test, gofmt everything and misspel fixes.
Former-commit-id: e69ffdf9bba4c7e8c3df45c015b3363cc3fc59b6
This commit is contained in:
2
fs.go
2
fs.go
@@ -44,7 +44,7 @@ func toWebPath(systemPath string) string {
|
||||
}
|
||||
|
||||
// abs calls filepath.Abs but ignores the error and
|
||||
// returns the original value if any error occured.
|
||||
// returns the original value if any error occurred.
|
||||
func abs(path string) string {
|
||||
absPath, err := filepath.Abs(path)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user