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

+1 -1
View File
@@ -10,7 +10,7 @@ import (
// Model is the model
type Model struct {
model.ModelBase
model.Base
ExpiresOn types.DBDate `json:"expires_on" gorm:"column:expires_on" filter:"expires_on,integer"`
UserID uint `json:"user_id" gorm:"column:user_id" filter:"user_id,integer"`
Provider string `json:"provider" gorm:"column:provider" filter:"provider,string"`