users

package
v0.0.0-...-b5ce554 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 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 Service

type Service interface {
	Create(ctx context.Context, input *model.Request) (ID int, err error)
	Get(ctx context.Context, request *model.FitterReadUsers) (*model.ReadResponseUsers, error)
	List(ctx context.Context, request *model.FitterListUsers, pagination *utils.PaginationOptions) (*utils.Pagination, error)
}

func NewService

func NewService(r postgres.Repository) (service Service)

type UsersService

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

func (*UsersService) Create

func (s *UsersService) Create(ctx context.Context, request *model.Request) (int, error)

func (*UsersService) Get

func (*UsersService) List

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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