services

package
v4.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Create = &mother{
	Faker: gofakeit.New(0),
}

Functions

func GetDefaultContextValue

func GetDefaultContextValue[T any](ctx context.Context) T

func IsValueObjectInvalid

func IsValueObjectInvalid(valueObj any) bool

func SetDefaultContextValue

func SetDefaultContextValue(value any) context.Context

Types

type CtxKey

type CtxKey string
const CtxDefaultKey CtxKey = "default"

Jump to

Keyboard shortcuts

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