Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vote ¶
type Vote struct { ID uint `gorm:"primary_key" json:"-"` UserID uuid.UUID `gorm:"type:uuid;column:user_id;not null;" json:"-"` Type VoteType `json:"type"` Hash string `json:"hash"` Choice VoteChoice `json:"vote"` CreatedAt *time.Time `json:"_"` UpdatedAt *time.Time `json:"_"` Committed bool `json:"committed"` }
type VoteChoice ¶
type VoteChoice string
Click to show internal directories.
Click to hide internal directories.