This commit is contained in:
hexlocation 2025-06-08 21:13:32 +02:00
parent 57137a08d3
commit c5aa21b75e
6 changed files with 23 additions and 9 deletions

View file

@ -15,16 +15,17 @@ type Route struct {
}
type StereoConfig struct {
ImagePath string
Router *gin.Engine
Client client.Client
Database *gorm.DB
JWTSecret string
ImagePath string
Router *gin.Engine
Client client.Client
Database *gorm.DB
JWTSecret string
FrontendUri string
Domain string
}
type File struct {
ID string `gorm:"primaryKey"`
Path string `gorm:"not null;index"`
Owner string `gorm:"not null;index"`
Size int64 `gorm:"not null;type:bigint"`
CreatedAt time.Time `gorm:"autoCreateTime"`