store

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMustProvideDir  = errors.New("must provide config dir")
	ErrMustContainDB   = errors.New("must contain .db")
	ErrValueEmpty      = errors.New("no data in entry")
	ErrFieldEmpty      = errors.New("no key provided")
	ErrQueryEmpty      = errors.New("no query provided")
	ErrFailedConnectDB = errors.New("failed to connect to database")
)

Functions

func HasKeywords added in v0.11.0

func HasKeywords(key, value string) bool

func New added in v0.10.0

func New(path string, migrations ...interface{}) (*gorm.DB, error)

func ParseKeywords added in v0.11.0

func ParseKeywords(key string, value string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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