dal

package
v0.0.0-...-4a118a0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2014 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserDal

type UserDal struct {
}

*

  • UserDal structure.

func NewUserDal

func NewUserDal() UserDal

*

  • UserDal constructor.

func (*UserDal) Get

func (u *UserDal) Get(id int64) models.User

*

  • get user by id.

func (*UserDal) GetAll

func (u *UserDal) GetAll() []models.User

*

  • get all users.

func (*UserDal) GetUser

func (u *UserDal) GetUser() models.User

*

  • Get an instance of models.User for test

Jump to

Keyboard shortcuts

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