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
Now that we have generics, we can stop hand-writing each implementation of flagutil.OptionalFlag for each type we want, instead writing a generic OptionalFlag over any type T, providing a parsing function that has the signature func(string) (T, error)
The text was updated successfully, but these errors were encountered:
Now that we have generics, we can stop hand-writing each implementation of
flagutil.OptionalFlag
for each type we want, instead writing a genericOptionalFlag
over any typeT
, providing a parsing function that has the signaturefunc(string) (T, error)
The text was updated successfully, but these errors were encountered: