Add dev services

- Development dotenvs
- Caddy service
- Redis service
- Postgres service
- Fix env parser error

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2025-12-20 01:27:11 +08:00
parent 0fb5c8b758
commit f130401ff8
8 changed files with 88 additions and 17 deletions

View File

@@ -11,6 +11,7 @@ type User struct {
Type string `json:"type" gorm:"not null"`
Subtitle string `json:"subtitle" gorm:"not null"`
Avatar string `json:"avatar" gorm:"not null"`
Checkin bool `json:"checkin" gorm:"not null"`
}
func (self *User) GetByEmail(email string) error {