vendor: move vendored sources in-tree
This should make it easier to see changes instead of just a blob
This commit is contained in:
11
vendor/github.com/go-openapi/spec/url_go19.go
generated
vendored
Normal file
11
vendor/github.com/go-openapi/spec/url_go19.go
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
package spec
|
||||
|
||||
import "net/url"
|
||||
|
||||
func parseURL(s string) (*url.URL, error) {
|
||||
u, err := url.Parse(s)
|
||||
if err == nil {
|
||||
u.OmitHost = false
|
||||
}
|
||||
return u, err
|
||||
}
|
||||
Reference in New Issue
Block a user