entity

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OptBooleanViperHook

func OptBooleanViperHook() mapstructure.DecodeHookFuncType

Types

type OptBooleanDefaultTrue

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

func Bool

func Bool(val bool) OptBooleanDefaultTrue

func (*OptBooleanDefaultTrue) Get

func (o *OptBooleanDefaultTrue) Get() bool

func (*OptBooleanDefaultTrue) MarshalJSON

func (o *OptBooleanDefaultTrue) MarshalJSON() ([]byte, error)

func (OptBooleanDefaultTrue) MarshalYAML

func (o OptBooleanDefaultTrue) MarshalYAML() (any, error)

func (*OptBooleanDefaultTrue) UnmarshalJSON

func (o *OptBooleanDefaultTrue) UnmarshalJSON(data []byte) error

type TWithError

type TWithError[T any] struct {
	T   T
	Err error
}

Jump to

Keyboard shortcuts

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