database

package
v0.0.0-...-5e2de36 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrConnectionNotFound = errors.New("db connection not found")
	ErrRecordNotFound     = errors.New("record not found")
)

Functions

This section is empty.

Types

type User

type User interface {
	Find(c echo.Context, id string) (*definitions.User, error)
	FindByUsername(c echo.Context, username string) (*definitions.User, error)
}

func NewUser

func NewUser() User

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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