Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultTag = "json"
DefaultTag is the default tag for binding
Variables ¶
View Source
var EmptyBinder = Binder(&emptyBinder{})
EmptyBinder is a variable that holds an instance of the emptyBinder struct, which implements the Binder interface.
Functions ¶
This section is empty.
Types ¶
type Binder ¶
type Binder interface { Bind(typ reflect.Type, tag string, target string) Convert(name string) string }
Binder is a binding interface
type Map ¶
type Map struct {
// contains filtered or unexported fields
}
Map is a binding map
func New ¶
New returns a new instance of the Map struct, which represents a binding map. It applies the provided options to the map using the settings.Apply function.
Click to show internal directories.
Click to hide internal directories.