common

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 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