Documentation ¶ Index ¶ Constants type Some func NewSome() *Some func (s *Some) TableName() string func (s *Some) ValidationErrorMessage(tag string) string Constants ¶ View Source const ( SomeStatusIdle = 0 SomeStatusProcessing = 1 SomeStatusError = 2 ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Some ¶ type Some struct { gorm.Model Name string `json:"name"` Url string `json:"url"` ClientId int `json:"client_id"` Status int `json:"status" gorm:"index:idx_status"` StatusText string `json:"status_text"` } func NewSome ¶ func NewSome() *Some func (*Some) TableName ¶ func (s *Some) TableName() string func (*Some) ValidationErrorMessage ¶ func (s *Some) ValidationErrorMessage(tag string) string Source Files ¶ View all Source files some.go Directories ¶ Show internal Expand all Path Synopsis requests Click to show internal directories. Click to hide internal directories.