database

package
v0.0.0-...-9a6fb03 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CharacterCollections string = "characters"

Functions

This section is empty.

Types

type DB

type DB struct {
	// contains filtered or unexported fields
}

func Connect

func Connect() *DB

func (*DB) AddCharacter

func (db *DB) AddCharacter(input *model.CharacterInput) *model.Character

func (*DB) GetCharacter

func (db *DB) GetCharacter(id int) *model.Character

func (*DB) GetCharacters

func (db *DB) GetCharacters() []*model.Character

func (*DB) GetLightCone

func (db *DB) GetLightCone(id int) *model.LightCone

func (*DB) GetLightCones

func (db *DB) GetLightCones() []*model.LightCone

func (*DB) GetRelic

func (db *DB) GetRelic(id int) *model.Relic

func (*DB) GetRelics

func (db *DB) GetRelics() []*model.Relic

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL