aboutsummaryrefslogtreecommitdiffstats
path: root/models/models.go
diff options
context:
space:
mode:
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() {