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
In order to be able to pass url.URL variable to flag.TextVar(&url, ...), url.URL type must implement encoding.TextMarshaler and encoding.TextUnmarshaler interfaces.
This approach was suggested here instead of making a dedicated flag.URLVar function in flag package.
earthboundkid, phelmkamp, OneOfOne, nightlyone and ix64ericlagergren