func ping(client crowdsound.CrowdSoundClient) { _, err := client.Ping(context.Background(), &crowdsound.PingRequest{UserId: *userID}) if err != nil { log.Fatalf("Error calling Ping(): %v", err) } }