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
Add method Get to interface Value (http://golang.org/pkg/flag/#Value) to return its
value.
i.e. for boolValue:
func (b *boolValue) Get() interface{} { return bool(*b) }
This method is essential at working with sub-commands.
The text was updated successfully, but these errors were encountered:
We cannot change the Value interface for Go 1.2, but we could add a separate flag.Getter
interface and make the standard implementations implement it.
For Go 2 we could think about merging Getter into Value.
by raul.san@sent.com:
The text was updated successfully, but these errors were encountered: