From f3ae95fdd78efe283653881e961142bde0cfbb13 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 26 Aug 2015 21:45:28 +0800 Subject: [PATCH] rename field --- repo_hooks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo_hooks.go b/repo_hooks.go index 85a0256..4bd4006 100644 --- a/repo_hooks.go +++ b/repo_hooks.go @@ -18,7 +18,7 @@ var ( ) type Hook struct { - Id int64 `json:"id"` + ID int64 `json:"id"` Type string `json:"type"` Events []string `json:"events"` Active bool `json:"active"`