Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrUserNotProvided occurs when user not found in context ErrUserNotProvided = errors.New("user not provided") )
Functions ¶
This section is empty.
Types ¶
type Reading ¶
type Reading struct { ID uint64 `json:"id"` URL string `json:"url"` Read bool `json:"read"` Tags []*Tag `json:"tags"` User authModel.User `json:"-"` }
Reading describe an url saved by an user
type ReadingTag ¶
ReadingTag describes link between a reading and a tag
type RowScanner ¶
type RowScanner interface {
Scan(...interface{}) error
}
RowScanner describes scan ability of a row
Click to show internal directories.
Click to hide internal directories.