change json field
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
// swagger:model Event
|
||||
type Event struct {
|
||||
gorm.Model
|
||||
gorm.Model `json:"meta"`
|
||||
ID uuid.UUID `json:"id" gorm:"type:uuid;default:gen_random_uuid();primarykey"`
|
||||
Start time.Time `json:"start"`
|
||||
End time.Time `json:"end"`
|
||||
|
||||
Reference in New Issue
Block a user