Documentation
¶
Index ¶
Constants ¶
View Source
const (
//SetMarkerTag defines set marker tag
SetMarkerTag = "setMarker"
)
Variables ¶
This section is empty.
Functions ¶
func GenMarkerFields ¶
func GenMarkerFields(t reflect.Type) []reflect.StructField
GenMarkerFields generate marker struct fields
func IsSetMarker ¶
Types ¶
type Marker ¶
type Marker struct {
// contains filtered or unexported fields
}
Marker field set marker
type Option ¶
type Option func(m *Marker)
Option marker option
func WithNoStrict ¶ added in v0.2.0
WithNoStrict create no strict option
Click to show internal directories.
Click to hide internal directories.