unexport user

This commit is contained in:
Henrique Dias committed 2017-06-25 11:40:23 +01:00
1 parent 761f6a6e30
commit 2ee4d9622c
10 files changed
+64 -35

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ func parseSearch(value string) *searchOptions {
}
// search searches for a file or directory.
func search(w http.ResponseWriter, r *http.Request, c *FileManager, u *User) (int, error) {
func search(w http.ResponseWriter, r *http.Request, c *FileManager, u *user) (int, error) {
// Upgrades the connection to a websocket and checks for errors.
conn, err := upgrader.Upgrade(w, r, nil)
if err != nil {