package models import ( "time" "github.com/google/uuid" "gorm.io/gorm" ) type Model struct { ID uuid.UUID `gorm:"primarykey" json:"id"` CreatedAt time.Time `json:"-"` UpdatedAt time.Time `json:"-"` DeletedAt gorm.DeletedAt `gorm:"index" json:"-"` }