storage

package
v0.0.0-...-2d9c1c3 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2018 License: MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserStorage

type UserStorage interface {
	Create(user *types.User) error
	FindByEmail(email string) (*types.User, error)
	GetByID(id string) (*types.User, error)
}

UserStorage interface

func NewUserStorage

func NewUserStorage(db *storm.DB) UserStorage

NewUserStorage constructor

Jump to

Keyboard shortcuts

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