Entire logging rework. Full error handling. Small improvements.

This commit is contained in:
MaxJa4
2024-01-22 17:24:17 +01:00
parent da1ff4e4e5
commit ca697da0da
18 changed files with 278 additions and 205 deletions

View File

@@ -2,7 +2,7 @@ package models
type Clan struct {
ID uint `json:"id" gorm:"primary_key"`
Name string `json:"name"`
Tag string `json:"tag"`
Name string `json:"name" gorm:"unique"`
Tag string `json:"tag" gorm:"unique"`
KeepUpdated bool `json:"keep_updated"`
}