File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ custom := param.Override[beeperdesktopapi.FooParams](12)
127127
128128### Request unions
129129
130- Unions are represented as a struct with fields prefixed by "Of" for each of it's variants,
130+ Unions are represented as a struct with fields prefixed by "Of" for each of its variants,
131131only one field can be non-zero. The non-zero field will be serialized.
132132
133133Sub-properties of the union can be accessed via methods on the union struct.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ package respjson
55// Use [Field.Valid] to check if an optional value was null or omitted.
66//
77// A Field will always occur in the following structure, where it
8- // mirrors the original field in it's parent struct:
8+ // mirrors the original field in its parent struct:
99//
1010// type ExampleObject struct {
1111// Foo bool `json:"foo"`
You can’t perform that action at this time.
0 commit comments