usecase

package
v0.0.0-...-a590297 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InvalidErr = errors.New("usecase: invalid")
View Source
var PermissionDeniedErr = errors.New("usecase: permission denied")

Functions

func NewDictUseCase

func NewDictUseCase() *dictUseCase

Types

type DictUseCase

type DictUseCase interface {
	GetDict(context.Context, int, int, string, string, string) ([]models.Word, error)
	GetDetail(context.Context, string, int) (*string, error)
	GetITJapanWonderWork(context.Context) ([][]models.WonderWord, error)
}

Directories

Path Synopsis
Package mock_usecase is a generated GoMock package.
Package mock_usecase is a generated GoMock package.

Jump to

Keyboard shortcuts

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