ArcOption🔗
Definition🔗
type ArcOption struct {
// Field from which to get the value. Values should be less than 1, representing fraction of a circle.
Field *string `json:"field,omitempty"`
// The color of the arc.
Color *string `json:"color,omitempty"`
}
Methods🔗
UnmarshalJSONStrict🔗
UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode ArcOption
from JSON.
Note: the unmarshalling done by this function is strict. It will fail over required fields being absent from the input, fields having an incorrect type, unexpected fields being present, …
Equals🔗
Equals tests the equality of two ArcOption
objects.
Validate🔗
Validate checks all the validation constraints that may be defined on ArcOption
fields for violations and returns them.