word

package
v0.0.0-...-febeaf7 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BaseModule = fx.Provide(
	NewRepository,
)

Functions

This section is empty.

Types

type Repository

type Repository interface {
	GetRandomWord(ctx context.Context, locale string) (model.Word, error)
	IsValidWord(ctx context.Context, in model.Word) (bool, error)
}

func NewRepository

func NewRepository() Repository

Jump to

Keyboard shortcuts

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