awesome-compose/vue-golang-mysql/server/model/paste.go

12 lines
267 B
Go
Raw Normal View History

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"`
}