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

validateutil

package
v1.70.2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPValidator

type IPValidator struct{}

func IP

func IP() IPValidator

func (IPValidator) Description

func (v IPValidator) Description(_ context.Context) string

func (IPValidator) MarkdownDescription

func (v IPValidator) MarkdownDescription(ctx context.Context) string

func (IPValidator) ValidateString

func (v IPValidator) ValidateString(ctx context.Context, req validator.StringRequest, resp *validator.StringResponse)

type IsRemovedValidator added in v1.67.0

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

func IsRemoved added in v1.67.0

func IsRemoved(details string) IsRemovedValidator

func (IsRemovedValidator) Description added in v1.67.0

func (v IsRemovedValidator) Description(_ context.Context) string

func (IsRemovedValidator) MarkdownDescription added in v1.67.0

func (v IsRemovedValidator) MarkdownDescription(ctx context.Context) string

func (IsRemovedValidator) ValidateString added in v1.67.0

Jump to

Keyboard shortcuts

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