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

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is biz providers.

Functions

This section is empty.

Types

type Greeter

type Greeter struct {
	Hello string
}

Greeter is a Greeter model.

type GreeterRepo

type GreeterRepo interface {
	NewID(ctx context.Context) (int64, error)
}

GreeterRepo is a Greater repo.

type GreeterUseCase

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

GreeterUseCase is a Greeter use case.

func NewGreeterUseCase

func NewGreeterUseCase(repo GreeterRepo) *GreeterUseCase

NewGreeterUseCase new a Greeter use case.

func (*GreeterUseCase) NewID

func (g *GreeterUseCase) NewID(ctx context.Context) (int64, error)

Jump to

Keyboard shortcuts

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