init
This commit is contained in:
1 parent
7ec38a443b
commit
bf78faba28
10 files changed
+423
-29
No files matched your search
+2
-1
@@ -8,7 +8,8 @@ import (
|
||||
|
||||
type Server struct {
|
||||
ID uuid.UUID `gorm:"primaryKey" json:"id"`
|
||||
Password string `gorm:"not null" json:"-"`
|
||||
Name string `gorm:"not null" json:"name"`
|
||||
Password *string `gorm:"" json:"-"`
|
||||
CreatedAt time.Time `gorm:"autoCreateTime" json:"created_at"`
|
||||
UpdatedAt time.Time `gorm:"autoUpdateTime" json:"updated_at"`
|
||||
}
|
||||
Reference in new issue
Block a user