package
0.0.6
Repository: https://github.com/lindb/common.git
Documentation: pkg.go.dev

# Functions

DecodeToml decodes data from file using toml format.
EncodeToml encodes data into file using toml format, encode data to tmp file, if success then rename tmp => target file.
LoadConfig loads config from file, if fail return err.
No description provided by the author

# Type aliases

Duration is a TOML wrapper type for time.Duration.
Size is a TOML wrapper type for size k/K -> KB, m/M -> MB, g/G -> GB.