Fixing formatting with gofmt
This commit is contained in:
parent
9ab07d7cd7
commit
fbc701f22b
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ func GetRepo(c web.C, w http.ResponseWriter, r *http.Request) {
|
|||
if role.Admin == false {
|
||||
json.NewEncoder(w).Encode(struct {
|
||||
*model.Repo
|
||||
Perm *model.Perm `json:"role"`
|
||||
Perm *model.Perm `json:"role"`
|
||||
}{repo, role})
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue