Documentation ¶
Index ¶
- Variables
- type Chapter
- type Database
- func (d *Database) GetFic(id string) (*Fic, error)
- func (d *Database) GetFicAndChapters(ficID string) (*Fic, map[string]Chapter, error)
- func (d *Database) GetFics(num, pageNum int) ([]Fic, error)
- func (d *Database) GetUser(id string) (*interop.DiscordUser, error)
- func (d *Database) PutFic(fic *Fic) error
- func (d *Database) PutUser(dUser *interop.DiscordUser) error
- type Fic
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoUserFound = errors.New("database: no user found") ErrNoFicFound = errors.New("database: no fic found") )
Errors
Functions ¶
This section is empty.
Types ¶
type Database ¶
func (*Database) GetFicAndChapters ¶
Click to show internal directories.
Click to hide internal directories.