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

@@ -22,7 +22,7 @@ var (
)
// command handles the requests for VCS related commands: git, svn and mercurial
func command(w http.ResponseWriter, r *http.Request, c *FileManager, u *user) (int, error) {
func command(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 {