Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶ added in v0.9.16
type Option func(*Options)
Option is the functional option type.
func IgnoreUnknownFields ¶ added in v0.10.6
IgnoreUnknownFields sets whether to ignore unknown JSON fields during parsing.
func LocationName ¶ added in v0.10.5
LocationName sets TZ location name for parsing datetime format.
func SubdirRewrites ¶ added in v0.9.16
SubdirRewrites option.
type Options ¶ added in v0.9.16
type Options struct {
// Rewrite subdir path (relative to workbook name option in .proto file).
// Default: nil.
SubdirRewrites map[string]string
// Location represents the collection of time offsets in use in a geographical area.
// If the name is "" or "UTC", LoadLocation returns UTC.
// If the name is "Local", LoadLocation returns Local.
// Default: "Local".
LocationName string
// Whether to ignore unknown JSON fields during parsing.
// Default: false.
IgnoreUnknownFields bool
}
func ParseOptions ¶ added in v0.9.16
ParseOptions parses functional options and merge them to default Options.
Click to show internal directories.
Click to hide internal directories.