github.com/ndarilek/terraform@v0.3.8-0.20150320140257-d3135c1b2bac/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 }