Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoolDefault ¶
type BoolDefault struct {
// contains filtered or unexported fields
}
BoolDefault represents bool default value
type FloatDefault ¶
type FloatDefault struct {
// contains filtered or unexported fields
}
FloatDefault represents float default value
type IntDefault ¶
type IntDefault struct {
// contains filtered or unexported fields
}
IntDefault represents int default value
type PlainDefaults ¶
type PlainDefaults interface {
Write() string
}
PlainDefaults is an interface for default values
func CreatePlainDefaults ¶
func CreatePlainDefaults(value interface{}) PlainDefaults
CreatePlainDefaults is a PlainDefaults factory
type StringDefault ¶
type StringDefault struct {
// contains filtered or unexported fields
}
StringDefault represents string default value
func (*StringDefault) Write ¶
func (stringDefault *StringDefault) Write() string
Write implementation
Click to show internal directories.
Click to hide internal directories.