How to query golang structs?

I was wondering if you have an example of how to query a struct type in goLang? I’m able to configure a string query but not a struct. For example, i took the sample-go repo and updated the unit test. I would expect for the query testStruct to be updated but its empty

I would expect the test to pass but since test.a is empty on line 41

When i put a break point in the setter, it seems accurate as well

I tried referencing How to use Queries in Go | Temporal Documentation but doesn’t really call it out


Make fields public.