github.com/armen/terraform@v0.5.2-0.20150529052519-caa8117a08f1/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 }