Documentation ¶
Index ¶
- type DB
- func (db *DB) CharacterById(Id string) (*models.Character, error)
- func (db *DB) CharacterDeleteById(Id string) (*models.Character, error)
- func (db *DB) CharacterUpdateById(Id string, up dtos.CharacterUpdate) (*models.Character, error)
- func (db *DB) Characters() ([]*models.Character, error)
- func (db *DB) CharactersSearch(search string, limit int64, page int64, url string) (*dtos.CharacterPaginationResponse, error)
- func (db *DB) SaveCharacter(in *dtos.Character) (*models.Character, error)
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) CharacterDeleteById ¶
func (*DB) CharacterUpdateById ¶
func (*DB) CharactersSearch ¶
Click to show internal directories.
Click to hide internal directories.