models

package
v0.0.0-...-314964c Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobEntity

type JobEntity struct {
	ID          uint      `gorm:"primarykey" json:"id"`
	CreatedAt   time.Time `json:"createdAt"`
	UpdatedAt   time.Time `json:"updatedAt"`
	Config      string    `json:"config" gorm:"type:mediumtext;not null"`
	Status      string    `json:"status" gorm:"type:varchar(16);not null"`
	Description string    `json:"description" gorm:"type:varchar(255)"`
	Score       int       `json:"score" gorm:"type:int"`
	Duration    int       `json:"duration" gorm:"type:int"`
	Result      string    `json:"result" gorm:"type:mediumtext"`
}

Jump to

Keyboard shortcuts

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