ownerservice

package
v0.0.0-...-bfeb8cb Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 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 AddNewOwnerInput

type AddNewOwnerInput struct {
	Name       string
	Surname    string
	Patronymic string
}

type Service

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

func New

func New(ownerRepository ownerRepository) *Service

func (*Service) AddNewOwner

func (s *Service) AddNewOwner(ctx context.Context, input AddNewOwnerInput) error

func (*Service) AddNewOwners

func (s *Service) AddNewOwners(ctx context.Context, owners []AddNewOwnerInput, errs chan error)

Jump to

Keyboard shortcuts

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