update comments and unexport some fields

This commit is contained in:
Henrique Dias
2017-06-25 10:52:34 +01:00
parent bcb8f091c6
commit 716d6d7e7a
8 changed files with 71 additions and 38 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ func command(w http.ResponseWriter, r *http.Request, c *FileManager, u *User) (i
}
// Gets the path and initializes a buffer.
path := strings.Replace(r.URL.Path, c.BaseURL, c.Scope, 1)
path := strings.Replace(r.URL.Path, c.BaseURL, c.scope, 1)
path = filepath.Clean(path)
buff := new(bytes.Buffer)