templatefunctions

package
v3.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FindProducts

type FindProducts struct {
	ProductSearchService    *application.ProductSearchService `inject:""`
	DefaultPaginationConfig *utils.PaginationConfig           `inject:""`
}

FindProducts is exported as a template function

func (*FindProducts) Func

func (tf *FindProducts) Func(ctx context.Context) interface{}

Func defines the find products function

type GetProduct

type GetProduct struct {
	ProductService domain.ProductService `inject:""`
}

GetProduct is exported as a template function

func (*GetProduct) Func

func (tf *GetProduct) Func(ctx context.Context) interface{}

Func factory

type GetProductURL

type GetProductURL struct {
	URLService *application.URLService `inject:""`
	Logger     flamingo.Logger         `inject:""`
}

GetProductURL is exported as a template function

func (*GetProductURL) Func

func (tf *GetProductURL) Func(ctx context.Context) interface{}

Func returns the JSON object

Jump to

Keyboard shortcuts

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