deadline

package
v0.0.0-...-e2fb21b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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 (c Deadline) MarshalYAML() (any, error)

func (*Deadline) UnmarshalYAML

func (c *Deadline) UnmarshalYAML(b *yaml.Node) error

type Deadlines

type Deadlines []Deadline

func (Deadlines) GormDBDataType

func (Deadlines) GormDBDataType(db *gorm.DB, field *schema.Field) string

func (Deadlines) GormDataType

func (Deadlines) GormDataType() string

func (Deadlines) GormValue

func (js Deadlines) GormValue(ctx context.Context, db *gorm.DB) (expr clause.Expr)

func (*Deadlines) Scan

func (c *Deadlines) Scan(value interface{}) (err error)

func (Deadlines) Value

func (c Deadlines) Value() (value driver.Value, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL