services

package
v0.0.0-...-c298ccb Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserService

type UserService struct {
	// contains filtered or unexported fields
}

func NewUserService

func NewUserService(dal interfaces.UserDal) *UserService

func (*UserService) Count

func (s *UserService) Count(id int64) (int64, error)

func (*UserService) Create

func (s *UserService) Create(user *models.User) (*models.User, error)

func (*UserService) Delete

func (s *UserService) Delete(id int64) (*models.User, error)

func (*UserService) Get

func (s *UserService) Get(id int64) (*models.User, error)

func (*UserService) Update

func (s *UserService) Update(id int64, user *models.User) (*models.User, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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