Help us shape the future of Go! Take the 2026 Go Developer Survey

validators

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsStrValueOfRequiredType

func IsStrValueOfRequiredType(requirements ValueTypeRequirements, value *string) bool

Types

type ValueTypeRequirements

type ValueTypeRequirements string
const (
	String   ValueTypeRequirements = "string"
	Integer  ValueTypeRequirements = "integer"
	Boolean  ValueTypeRequirements = "boolean"
	StrOrInt ValueTypeRequirements = "str or int"
	Any      ValueTypeRequirements = "any"
)

Jump to

Keyboard shortcuts

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