Skip to content

Releases: Mrucznik/wonsz

v0.2.0

11 Jan 16:21

Choose a tag to compare

changelog

Full Changelog: v0.1.1...v0.2.0

  • support nested structs when binding flags and environment variables
  • support time.Time (format time.RFC3339), time.Duration, ip.IP, ip.IPNet as config fields when providing values from environment variables and flags
  • support uint, uint8, uint16, uint32, uint64, []int, []int32, []int64, []uint, []byte, []float32, []float64, map[string]int, map[string]int64 when binding to flags
  • remove logrus dependency, replace error logs with returning error
  • add option to ignore binding flag errors (IgnoreViperBindErrors)
  • add option to ignore binding to flag (tag wonsz-flag-ignore:"true"