Skip to content

v0.1.0

Compare
Choose a tag to compare
@muir muir released this 24 Apr 22:59
· 64 commits to main since this release
60c9886

What's Changed

  • more coverage by @muir in #17
  • note feature in readme by @muir in #18
  • readme formatting fix by @muir in #19
  • Add MustExportToFlagSet(); adjust API of ExportToFlagSet; change flagset behavior by @muir in #20:

This change is almost backwards compatible.

  • API change: ExportToFlagSet() now takes an interface which means that isn't quite a locked to "flag" as it had been.
  • MustExportToFlagSet() has been added.
  • Behavior change: When filling a pointer member that does not have a default, if the flag isn't mentioned, the value will remain nil rather than being filled with the base value for the type
  • The README has been updated.
  • bugfix for exported flags for pointers to types not covered by the FlagSet API: this now works

Full Changelog: v0.0.6...v0.1.0