Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notification ¶
type Notification struct { EventID uint `json:"eventId"` UserID uint `json:"userId"` Title string `json:"title"` Time time.Time `sql:"index"` }
Notification value object
func (Notification) String ¶
func (e Notification) String() string
String func is a func for the Stringer interface
Click to show internal directories.
Click to hide internal directories.