package main
import (
"fmt"
"net/url"
)
func main() {
u1, err := url.ParseRequestURI("google.com")
fmt.Println(u1, err)
u2, err := url.ParseRequestURI("http://[Log in to view URL]")
fmt.Println(u2, err)
}
To embed this program on your website, copy the following code and paste it into your website's HTML: