github.com/jsoriano/terraform@v0.6.7-0.20151026070445-8b70867fdd95/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  }