Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interaction ¶
type Interaction uint8
Interaction is the state a user can be in.
const ( Dislike Interaction = iota Like Resqueak UndoDislike UndoLike UndoResqueak )
Enum of user statuses.
func (*Interaction) Scan ¶
func (p *Interaction) Scan(val any) error
Scan determines how to read the enum value into the type.
func (Interaction) String ¶
func (p Interaction) String() string
String provides a string value for a Interaction int.
func (Interaction) Value ¶
func (p Interaction) Value() (driver.Value, error)
Value provides the DB a string from an int.
func (Interaction) Values ¶
func (Interaction) Values() []string
Values provides a list of valid values for Interaction.
Click to show internal directories.
Click to hide internal directories.