mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-09 15:43:53 -06:00
e7bbbfb098
Pull out the urlParse function, which was introduced in config/module, into a helper package.
12 lines
130 B
Go
12 lines
130 B
Go
// +build !windows
|
|
|
|
package url
|
|
|
|
import (
|
|
"net/url"
|
|
)
|
|
|
|
func parse(rawURL string) (*url.URL, error) {
|
|
return url.Parse(rawURL)
|
|
}
|