From fbc701f22b9d82a88dc3826d15e0275d88e11a81 Mon Sep 17 00:00:00 2001 From: Andy Gardner Date: Thu, 26 Feb 2015 10:22:06 +0200 Subject: [PATCH] Fixing formatting with gofmt --- server/handler/repo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/handler/repo.go b/server/handler/repo.go index 687c5cd2..843baed0 100644 --- a/server/handler/repo.go +++ b/server/handler/repo.go @@ -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 }