Пример #1
0
func voteSkip(client crowdsound.CrowdSoundClient) {
	_, err := client.VoteSkip(context.Background(), &crowdsound.VoteSkipRequest{
		UserId: *userID,
	})
	if err != nil {
		log.Fatalf("Error calling VoteSkip(): %v", err)
	}

	log.Println("Voted for skip")
}