Skip to content

Commit

Permalink
doc: update options code
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Nov 19, 2021
1 parent a316e52 commit c5f64c3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,13 +250,17 @@ type Options struct {
// parse key, allow find value by key path. default is True eg: 'key.sub' will find `map[key]sub`
ParseKey bool
// tag name for binding data to struct
// Deprecated
// please set tag name by DecoderConfig
TagName string
// the delimiter char for split key, when `FindByPath=true`. default is '.'
// the delimiter char for split key path, if `FindByPath=true`. default is '.'
Delimiter byte
// default write format. default is JSON
// default write format
DumpFormat string
// default input format. default is JSON
// default input format
ReadFormat string
// DecoderConfig setting for binding data to struct
DecoderConfig *mapstructure.DecoderConfig
}
```

Expand Down

0 comments on commit c5f64c3

Please sign in to comment.