dao

package
v0.0.0-...-af1923c Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UserByLogin

func UserByLogin(login string, db *mgo.Database) (user *model.User, err error)

func UserDelete

func UserDelete(login string, db *mgo.Database) (err error)

func UserInsert

func UserInsert(user *model.User, db *mgo.Database) (err error)

func UserUpdate

func UserUpdate(user *model.User, db *mgo.Database) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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