However I was unable to figure out how to specify this in golang SDK. The golang parameter accepts an interface. I tried sending the argument as a string such as “true,desired_name” but its not working. There is nothing in the GO SDK documentation on how to handle situation like this.
Can someone tell me how I can pass composite view key like this in golang?
Any help would be appreciated.
In Go, when you need to provide an array of parameters which are varying types, you should use the []interface{} type. So for instance, to specify the keys that you are looking for, you would probably want this: