Sample code for 30+ languages & platforms
Go

Example: Http.GetDomain method

Demonstrates the GetDomain method.

Chilkat Go Downloads

Go
    http := chilkat.NewHttp()

    domain := http.GetDomain("https://chilkatsoft.com/refdoc/csharp.asp")
    fmt.Println(*domain)

    // Output: chilkatsoft.com

    http.DisposeHttp()