This recipe performed a CNAME and host lookup of the address provided. In our case, we used golang.org. We store the result in a lookup structure that prints the output results using the String() method. This method will be called automatically when we print our object as a string, or we can call the method directly. We implement some basic argument checking in main.go to ensure that an address is provided when the program is run.