tool

package
v0.0.0-...-4335edd Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SafeSend

func SafeSend[T any](ctx context.Context, ch chan<- T, data T)

func SafeSendWithCallback

func SafeSendWithCallback[T any](ctx context.Context, ch chan<- T, data T, callback func(err error))

Types

type StructValidator

type StructValidator struct {
	// contains filtered or unexported fields
}

func NewStruckValidator

func NewStruckValidator() *StructValidator

func Validator

func Validator() *StructValidator

func (*StructValidator) Engine

func (self *StructValidator) Engine() any

func (*StructValidator) Validate

func (self *StructValidator) Validate(out any) error

Jump to

Keyboard shortcuts

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