You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 26, 2023. It is now read-only.
Could it be a good idea to let interface types like Value and Getter be type-aliases to the interfaces defined in the official flag package?
This would allow e.g. defining an interface for FlagSet in your own applications or libraries, that is able to accept both a FlagSet from this package or a FlagSet from the standard library, when a method with interface parameters is required.
Could it be a good idea to let interface types like
ValueandGetterbe type-aliases to the interfaces defined in the officialflagpackage?This would allow e.g. defining an interface for
FlagSetin your own applications or libraries, that is able to accept both a FlagSet from this package or a FlagSet from the standard library, when a method with interface parameters is required.Application example: