Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DuplicateKeysMode ¶
type DuplicateKeysMode int
const ( // DuplicateKeysIgnore skips silently duplicate keys. DuplicateKeysIgnore DuplicateKeysMode = iota // DuplicateKeysDeny throws an error when duplicate keys are found. DuplicateKeysDeny // DuplicateKeysAllow NOT RECOMMENDED: this does not follow the struct tag conventions. DuplicateKeysAllow )
type Filler ¶
type Filler struct {
// contains filtered or unexported fields
}
func NewFiller ¶
func NewFiller(escapeComma bool, duplicateKeysMode DuplicateKeysMode) *Filler
type Option ¶
type Option func(*config)
func WithDuplicateKeysMode ¶
func WithDuplicateKeysMode(mode DuplicateKeysMode) Option
func WithEscapeComma ¶
func WithEscapeComma() Option
Click to show internal directories.
Click to hide internal directories.