internalvalidation

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fields

func Fields(val reflect.Value, prefix string, s *internalscope.Scope) error

Fields recursively validates the struct fields.

func IsValidBoolTag

func IsValidBoolTag(fieldName, tagName, tagValue string) (*bool, error)

IsValidBoolTag validates that a struct tag contains a valid boolean value

func Struct

func Struct(c *cobra.Command, o any) error

Struct checks the coherence of definitions in the given struct.

Types

This section is empty.

Jump to

Keyboard shortcuts

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