go changedcli-sdks-libraries/sdks/go
Nearest release: v2.1.305, published under an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+1added
Lines−1removed
From line
300
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits11to this page, all time
The whole hunk
from line 300, old and new numbered
/
from line 300
300300
301301Unions are represented as a struct with fields prefixed by "Of" for each of its variants. Only one field can be non-zero. The non-zero field will be serialized.
302302
303Subproperties of the union can be accessed through methods on the union struct. These methods return a mutable pointer to the underlying data, if present.
303Subproperties of the union can be accessed through methods on the union struct. These methods return a pointer to the value, if present.
304304
305305```go
306306// Only one field can be non-zero, use param.IsOmitted() to check if a field is set
No line in this hunk matches that.