Skip to content

TableFooterOptions🔗

Footer options

Definition🔗

type TableFooterOptions struct {
    Show bool `json:"show"`
    // actually 1 value
    Reducer []string `json:"reducer"`
    Fields []string `json:"fields,omitempty"`
    EnablePagination *bool `json:"enablePagination,omitempty"`
    CountRows *bool `json:"countRows,omitempty"`
}

Methods🔗

UnmarshalJSONStrict🔗

UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode TableFooterOptions 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, …

func (tableFooterOptions *TableFooterOptions) UnmarshalJSONStrict(raw []byte) error

Equals🔗

Equals tests the equality of two TableFooterOptions objects.

func (tableFooterOptions *TableFooterOptions) Equals(other TableFooterOptions) bool

Validate🔗

Validate checks all the validation constraints that may be defined on TableFooterOptions fields for violations and returns them.

func (tableFooterOptions *TableFooterOptions) Validate() error

See also🔗