database

package
v0.0.0-...-1e2c07c Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

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

func Connect

func Connect(name string) *Database

func (*Database) CreateBear

func (db *Database) CreateBear(name string) (*model.Bear, error)

func (*Database) ListBears

func (db *Database) ListBears() ([]*model.Bear, error)

func (*Database) Migrate

func (db *Database) Migrate()

Jump to

Keyboard shortcuts

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