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

common

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RequiredFlag = "required"
	BlankFlag    = "_"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Tag

type Tag struct {
	Name  string
	Flags []string
	Desc  string
}

type TagResolver

type TagResolver func(fieldname, token string) (*Tag, error)

type Unmarshaler added in v0.2.2

type Unmarshaler interface {
	UnmarshalStruct(v interface{}) error
}

type ValueBindProvider

type ValueBindProvider func(rv reflect.Value) ValueBinder

type ValueBinder

type ValueBinder interface {
	Bind(v interface{}) error
}

Jump to

Keyboard shortcuts

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