I think that the net.URL is a very common type to be used in configuration.
I already found myself several times defining a URL configuration argument as a string type, and performing url.Parse to get a *url.URL object.
Since this type is not implementing the Setter or Decoder interface, it can't be used as is.
I think that adding a support to this type would be very useful.
I think that the net.URL is a very common type to be used in configuration. I already found myself several times defining a URL configuration argument as a string type, and performing
url.Parse
to get a*url.URL
object. Since this type is not implementing the Setter or Decoder interface, it can't be used as is. I think that adding a support to this type would be very useful.