database

package
v0.0.0-...-fd8d5be Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserRepository

func NewUserRepository(rdb *sql.DB, kvs redigo.Conn) repository.UserRepository

NewUserRepository returns a new UserRepo instance.

Types

type Error

type Error string

Error is package-specific error type.

const (
	ErrUserNotFound Error = "user not found"
)

error constants

func (Error) Error

func (e Error) Error() string

Error implements error interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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