biz

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is biz providers.

Functions

This section is empty.

Types

type Mapper

type Mapper struct {
	Hello string
}

Mapper is a Mapper model.

type MapperRepo

type MapperRepo interface {
	Save(context.Context, *Mapper) (*Mapper, error)
}

MapperRepo is a Greater repo.

type MapperUseCase

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

MapperUseCase is a Mapper use case.

func NewMapperUseCase

func NewMapperUseCase(repo MapperRepo) *MapperUseCase

NewMapperUseCase new a Mapper use case.

func (*MapperUseCase) CreateMapper

func (uc *MapperUseCase) CreateMapper(ctx context.Context, g *Mapper) (*Mapper, error)

CreateMapper creates a Mapper, and returns the new Mapper.

Jump to

Keyboard shortcuts

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