category

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryService

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

func (*CategoryService) Create

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

func (*CategoryService) Patch

type Service

type Service interface {
	Create(ctx context.Context, input *model.Request) (ID int, err error)
	Patch(ctx context.Context, request *model.FitterUpdateCategory) (*model.UpdateResponseCategory, error)
}

func NewService

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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