aboutsummaryrefslogtreecommitdiffstats
path: root/models/models.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-27 23:06:14 +0800
committerUnknwon <u@gogs.io>2015-08-27 23:06:14 +0800
commit23f42d92c917564435a00e8e75633b8056bd7b0d (patch)
tree6fed7f6df4c6b039e4e43eaae2fcd5788ddba3a0 /models/models.go
parentfc2d0e5470fa2fea260adba30866acda1aa945cb (diff)
downloadgitea-23f42d92c917564435a00e8e75633b8056bd7b0d.tar.gz
gitea-23f42d92c917564435a00e8e75633b8056bd7b0d.zip
add webhook recent deliveries
Diffstat (limited to 'models/models.go')
-rw-r--r--models/models.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/models/models.go b/models/models.go
index c141391943..240c8ebca9 100644
--- a/models/models.go
+++ b/models/models.go
@@ -84,6 +84,11 @@ func init() {
new(UpdateTask), new(HookTask),
new(Team), new(OrgUser), new(TeamUser), new(TeamRepo),
new(Notice), new(EmailAddress))
+
+ gonicNames := []string{"SSL"}
+ for _, name := range gonicNames {
+ core.LintGonicMapper[name] = true
+ }
}
func LoadModelsConfig() {