greeter

package
v0.0.0-...-00075bb Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entity

type Entity struct {
	Name string
}

type IRepo

type IRepo interface {
	Create(context.Context, *Entity) error
}

type IUseCase

type IUseCase interface {
	SayHello(ctx context.Context, name string) error
}

func NewUseCase

func NewUseCase(repo IRepo, logger log.Logger) IUseCase

Jump to

Keyboard shortcuts

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