Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrProfileAlreadyExists = errors.New("profile already exists")
)
View Source
var (
ErrUserAlreadyExists = errors.New("user already exists")
)
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB interface {
Close()
CreateProfile(profile *ProfileDB) error
GetProfileById(userId uuid.UUID) (*ProfileDB, error)
GetAllShipTypes() ([]*ShipType, error)
}
func NewConnection ¶
type WeaponPlace ¶
Click to show internal directories.
Click to hide internal directories.