Skip to content

Conversation

@nisarg-shah-222
Copy link
Contributor

No description provided.

ironhawk/main.go Outdated
if len(resp.GetVList()) > 0 {
fmt.Printf("\n")
for i, v := range resp.GetVList() {
fmt.Printf("%d) \"%s\"\n", i, v.GetStringValue())

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would the item always be a string? Should we switch between the oneof field to cover any data type the list could contain.

@apoorvyadav1111
Copy link
Contributor

Hey @nisarg-shah-222, changes look good to me, but I am thinking around do we start the list from 0 or 1.

@nisarg-shah-222
Copy link
Contributor Author

Ahh missed it, changed it to start the count from 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants