The Go SDK documentation on Activities contains this sentence:
The result value can be either a basic type or a struct with the only requirement being that it is serializable.
Would it be possible to add a code sample to temporal-go-examples showing how to use a struct as the argument type to an activity and a return type from an activity?
Should one use the struct by value or by reference (pointer)? I might be talking rubbish here as I don’t have a lot of Go experience, which makes it all the more important to add such a code example.