Versions in this module Expand all Collapse all v0 v0.188.3 Jan 15, 2024 v0.94.0 Jan 15, 2024 Changes in this version + func CheckGoldenDataResponse(path string, dr *backend.DataResponse, updateFile bool) error + func CheckGoldenFrame(path string, f *data.Frame, updateFile bool) error + func CheckGoldenFramer(path string, f data.Framer, updateFile bool) error + func CheckGoldenJSONFrame(t *testing.T, dir string, name string, f *data.Frame, updateFile bool) + func CheckGoldenJSONFramer(t *testing.T, dir string, name string, f data.Framer, updateFile bool) + func CheckGoldenJSONResponse(t *testing.T, dir string, name string, dr *backend.DataResponse, ...) + func GetDirectoryFrame(p string, details bool) (*data.Frame, error) + type Client interface + Fetch func(ctx context.Context, uriPath, uriQuery string) ([]byte, error) + Get func(ctx context.Context, uriPath, uriQuery string) (*http.Response, error) + func NewRestClient(url string, headers map[string]string) Client + type FrameSorter struct + func NewFrameSorter(frame *data.Frame, sortField *data.Field) FrameSorter + func (fs FrameSorter) Len() int + func (fs FrameSorter) Less(i, j int) bool + func (fs FrameSorter) Swap(i, j int)