code: func ipString(na *wire.NetAddress) string {
  	if IsOnionCatTor(na) {
  		// We know now that na.IP is long enough.
  		base32 := base32.StdEncoding.EncodeToString(na.IP[6:])
  		return strings.ToLower(base32) + ".onion"
  	}
  
  	return na.IP.String()
  }
docs: // ipString returns a string for the ip from the provided NetAddress. If the
  // ip is in the range used for Tor addresses then it will be transformed into
  // the relevant .onion address.