Documentation ¶
Index ¶
- type DB
- func (db *DB) Close()
- func (db DB) Count() (int, error)
- func (db *DB) CreateSchema() error
- func (db *DB) Delete(movie *Movie) error
- func (db *DB) DropSchema() error
- func (db *DB) Insert(movie *Movie) error
- func (db *DB) Quiz(optionsCount, SimilarCount int) (Quiz, error)
- func (db *DB) Random(movie *Movie) error
- func (db *DB) RandomMany(count int) ([]Movie, error)
- func (db *DB) Select(movie *Movie) error
- type Movie
- type Quiz
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) CreateSchema ¶
func (*DB) DropSchema ¶
Click to show internal directories.
Click to hide internal directories.