rest

package
v0.0.0-...-c5cc7cd Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	QuoteControllerProviderSet = wire.NewSet(
		ProvideQuoteController,
		wire.Bind(
			new(QuoteController[gin.Context]),
			new(*quoteController),
		),
	)
)

Functions

func ProvideQuoteController

func ProvideQuoteController(
	getQuoteUseCase domain.GetQuoteUseCase,
	logger *zap.SugaredLogger,
) *quoteController

Types

type QuoteController

type QuoteController[T any] interface {
	GetQuote(c *T)
}

Jump to

Keyboard shortcuts

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