encoding.TextUnmarshaler is the interface implemented by an object that can unmarshal a textual representation of itself. With it go-flags would be able to handle any type that implements it. Now we have to read parameters as strings and unmarshal them later.
encoding.TextUnmarshaler is the interface implemented by an object that can unmarshal a textual representation of itself. With it go-flags would be able to handle any type that implements it. Now we have to read parameters as strings and unmarshal them later.