Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
Key uint `gorm:"primary_key"`
ID string
Author *User `gorm:"ForeignKey:UserKey;save_associations:false"`
UserKey uint
Content string
Channel *Channel `gorm:"ForeignKey:ChannelKey;save_associations:false"`
ChannelKey uint
Mentions []*User `gorm:"-"` // This doesn't need to be stored in the database
Time time.Time
APIID string
}
type RespecList ¶
type RespecList []*Respec
func (RespecList) Len ¶
func (p RespecList) Len() int
func (RespecList) Less ¶
func (p RespecList) Less(i, j int) bool
func (RespecList) Swap ¶
func (p RespecList) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.