Export user

This commit is contained in:
Henrique Dias
2017-06-25 15:24:16 +01:00
parent 70c00db16b
commit 3ac186305d
10 changed files with 35 additions and 33 deletions

View File

@@ -38,7 +38,7 @@ type fileInfo struct {
// getInfo gets the file information and, in case of error, returns the
// respective HTTP error code
func getInfo(url *url.URL, c *FileManager, u *user) (*fileInfo, error) {
func getInfo(url *url.URL, c *FileManager, u *User) (*fileInfo, error) {
var err error
i := &fileInfo{URL: c.PrefixURL + url.Path}