Documentation ¶
Index ¶
- type DB
- func (db *DB) AutoMigrateAll() error
- func (db *DB) Close() error
- func (db *DB) CreateSuper(super model.Super) (model.Super, error)
- func (db *DB) DeleteByID(id string) error
- func (db *DB) FindByID(id string) (model.Super, error)
- func (db *DB) FindByName(name string) (model.Super, error)
- func (db *DB) ListAllBad() ([]model.Super, error)
- func (db *DB) ListAllGood() ([]model.Super, error)
- func (db *DB) ListAllSuper() ([]model.Super, error)
- func (db *DB) Seed() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.