Documentation ¶
Index ¶
- Variables
- func AddTutorial(t *model.Tutorial) error
- func CloseDB() error
- func FetchAllKeys() ([]string, error)
- func FetchAllTutorials() ([]*model.Tutorial, error)
- func FetchPreNextKey(key string) (string, string, error)
- func FetchTutorial(key string) (*model.Tutorial, error)
- func OpenDB(file string) error
- func RemoveTutorial(key string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DB *bolt.DB
)
Functions ¶
func AddTutorial ¶
func FetchAllKeys ¶
func FetchAllTutorials ¶
func RemoveTutorial ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.