Export user

Former-commit-id: 3ac186305dcd855b853a5c80ee8f90b50abd19cd
This commit is contained in:
Henrique Dias
2017-06-25 15:24:16 +01:00
parent a74ad79dd6
commit 224151e814
10 changed files with 35 additions and 33 deletions

View File

@@ -10,7 +10,7 @@ import (
)
// serveListing presents the user with a listage of a directory folder.
func serveListing(w http.ResponseWriter, r *http.Request, c *FileManager, u *user, i *fileInfo) (int, error) {
func serveListing(w http.ResponseWriter, r *http.Request, c *FileManager, u *User, i *fileInfo) (int, error) {
var err error
// Loads the content of the directory