type Builder url.URL
Builder represents a URL under construction
func (b Builder) With(options ...Option) Builder
With configures a net.URL via a Builder wrapper, returns the modified result
type Option func(*Builder)
Option is a functional type that configures a URL
func Host(host string) Option
Host returns an Option to configure a Builder.Host
func Path(path string) Option
Path returns an Option to configure a Builder.Path
func Scheme(scheme string) Option
Scheme returns an Option to configure a Builder.Scheme