Add godot linter to harmonitze toplevel comments (#3650)

This commit is contained in:
Robert Kaussow
2024-05-13 22:58:21 +02:00
committed by GitHub
parent 83eba294c7
commit 89e100cfd1
144 changed files with 302 additions and 302 deletions

View File

@@ -54,12 +54,12 @@ type Secret struct {
Events []WebhookEvent `json:"events" xorm:"json 'secret_events'"`
} // @name Secret
// TableName return database table name for xorm
// TableName return database table name for xorm.
func (Secret) TableName() string {
return "secrets"
}
// BeforeInsert will sort events before inserted into database
// BeforeInsert will sort events before inserted into database.
func (s *Secret) BeforeInsert() {
s.Events = sortEvents(s.Events)
}