services

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: GPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitCustomerService

func InitCustomerService(collection *mongo.Collection, ctx context.Context) interfaces.ICustomer

Types

type CustomerService

type CustomerService struct {
	CustomerCollection *mongo.Collection
	// contains filtered or unexported fields
}

func (*CustomerService) CreateCustomer

func (p *CustomerService) CreateCustomer(customer *models.Customer) (*models.DBResponse, error)

CreateCustomer implements interfaces.ICustomer.

Jump to

Keyboard shortcuts

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