feat: add vue-golang-mysql sample
Signed-off-by: fffzlfk <1319933925qq@gmail.com>
This commit is contained in:
11
vue-golang-mysql/server/model/paste.go
Normal file
11
vue-golang-mysql/server/model/paste.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type Paste struct {
|
||||
ID string `json:"id" gorm:"primaryKey"`
|
||||
ExpiredAt time.Time `json:"expired_at"`
|
||||
ExpiredDays int `json:"expired_days"`
|
||||
Type string `json:"type"`
|
||||
Data string `json:"data"`
|
||||
}
|
Reference in New Issue
Block a user