Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notification ¶
type Notification struct {
ID string `json:"id"`
Title string `json:"title"`
URL string `json:"url"`
Scope string `json:"scope"`
UpdatedAt time.Time `json:"updated_at"`
}
Notification it's the entity used to transform to JSON the notification.Notification
func NewNotifications ¶
func NewNotifications(ns []*notification.Notification) []*Notification
NewNotifications returns a conversion of the ns to Notification
Click to show internal directories.
Click to hide internal directories.