master
getIPInterface
func getIPInterface(name string) (string, error) { ifaces, err := net.Interfaces() if err != nil { return "", err }