services

package
v0.0.0-...-da3856f Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UsersService

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

func NewUsersService

func NewUsersService(container *infrastructure.Container) *UsersService

func (*UsersService) CountByFilter

func (us *UsersService) CountByFilter() (int64, error)

func (*UsersService) Create

func (us *UsersService) Create(userDto *dto.CreateUserDTO) (*entities.User, error)

func (*UsersService) Edit

func (us *UsersService) Edit(id uint64, userDto *dto.EditUserDTO) (*entities.User, error)

func (*UsersService) GetById

func (us *UsersService) GetById(id uint64) (*entities.User, error)

func (*UsersService) GetListByFilter

func (us *UsersService) GetListByFilter() ([]*entities.User, error)

Jump to

Keyboard shortcuts

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