Fixing formatting with gofmt

This commit is contained in:
Andy Gardner 2015-02-26 10:22:06 +02:00
parent 9ab07d7cd7
commit fbc701f22b

View file

@ -32,7 +32,7 @@ func GetRepo(c web.C, w http.ResponseWriter, r *http.Request) {
if role.Admin == false { if role.Admin == false {
json.NewEncoder(w).Encode(struct { json.NewEncoder(w).Encode(struct {
*model.Repo *model.Repo
Perm *model.Perm `json:"role"` Perm *model.Perm `json:"role"`
}{repo, role}) }{repo, role})
return return
} }