Documentation ¶ Index ¶ type FrameMap func New() *FrameMap func (f *FrameMap) NewRow(labels data.Labels) *Row func (f *FrameMap) ToFrames() ([]*data.Frame, error) type Row Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type FrameMap ¶ type FrameMap struct { // contains filtered or unexported fields } func New ¶ added in v0.0.5 func New() *FrameMap func (*FrameMap) NewRow ¶ added in v0.0.6 func (f *FrameMap) NewRow(labels data.Labels) *Row func (*FrameMap) ToFrames ¶ func (f *FrameMap) ToFrames() ([]*data.Frame, error) ToFrames transforms the FrameMap to an array of frames Any error that is returned is not caused by the user, and is an unexpected error. type Row ¶ added in v0.0.6 type Row struct { FieldOrder []string // The field map. Supported types are as follows: // // jsonnode.Number, jsonnode.Null // // string, bool, float64, time.Time // // Please make sure you do not use pointer types. FieldMap map[string]any } Source Files ¶ View all Source files convert.go framemap.go row.go Click to show internal directories. Click to hide internal directories.