add shit
This commit is contained in:
parent
57137a08d3
commit
c5aa21b75e
6 changed files with 23 additions and 9 deletions
|
@ -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"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue