Documentation ¶
Index ¶
- type Deadline
- type Deadlines
- func (Deadlines) GormDBDataType(db *gorm.DB, field *schema.Field) string
- func (Deadlines) GormDataType() string
- func (js Deadlines) GormValue(ctx context.Context, db *gorm.DB) (expr clause.Expr)
- func (c *Deadlines) Scan(value interface{}) (err error)
- func (c Deadlines) Value() (value driver.Value, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deadline ¶
type Deadline struct { Time time.Time `yaml:"time" json:"time"` Score float32 `yaml:"score" json:"score"` }
func (Deadline) MarshalYAML ¶
func (*Deadline) UnmarshalYAML ¶
type Deadlines ¶
type Deadlines []Deadline
func (Deadlines) GormDBDataType ¶
func (Deadlines) GormDataType ¶
Click to show internal directories.
Click to hide internal directories.