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 {
|
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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue