Documentation
¶
Index ¶
- func IsObjectNil(obj interface{}) bool
- func MustClose(obj io.Closer)
- func SetLogger(lg *zap.Logger)
- type Corrector
- func (c *Corrector) Float64(v *float64, def float64)
- func (c *Corrector) Int(v *int, def int)
- func (c *Corrector) String(v *string, def string)
- func (c *Corrector) TomlDuration(v *toml.Duration, def toml.Duration)
- func (c *Corrector) TomlSize(v *toml.Size, def toml.Size)
- func (c *Corrector) Uint64(v *uint64, def uint64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsObjectNil ¶
func IsObjectNil(obj interface{}) bool
Types ¶
type Corrector ¶
type Corrector struct {
// contains filtered or unexported fields
}
func NewCorrector ¶
func (*Corrector) TomlDuration ¶
Click to show internal directories.
Click to hide internal directories.