New lint rules

This commit is contained in:
Jamie Curnow committed 2024-11-21 19:07:36 +10:00
1 parent 4e6d65645f
commit 152b7666d8
85 files changed
+385 -259

No files matched your search

@@ -7,7 +7,7 @@ import (
// Model is the model
type Model struct {
model.ModelBase
model.Base
UpstreamID uint `json:"upstream_id" gorm:"column:upstream_id" filter:"upstream_id,integer"`
Server string `json:"server" gorm:"column:server" filter:"server,string"`
Weight int `json:"weight" gorm:"column:weight" filter:"weight,integer"`