github.com/hobbeswalsh/terraform@v0.3.7-0.20150619183303-ad17cf55a0fa/helper/url/url.go (about) 1 package url 2 3 import ( 4 "net/url" 5 ) 6 7 // Parse parses rawURL into a URL structure. 8 // The rawURL may be relative or absolute. 9 // 10 // Parse is a wrapper for the Go stdlib net/url Parse function, but returns 11 // Windows "safe" URLs on Windows platforms. 12 func Parse(rawURL string) (*url.URL, error) { 13 return parse(rawURL) 14 }