package
0.0.0-20250312133425-17e2192e740d
Repository: https://github.com/web-platform-tests/wpt.fyi.git
Documentation: pkg.go.dev

# Functions

ConvertRuns converts TestRuns into the legacy format.
GetDatastoreKindName gets the full (namespaced) data type name for the given interface (whether a pointer or not).

# Structs

PassRateMetadata constitutes metadata capturing: - When metric run was performed; - What test runs are part of the metric run; - Where the metric run results reside (a URL).
PassRateMetadataLegacy is a struct for storing a PassRateMetadata entry in the datastore, avoiding nested arrays.
RunInfo is an alias of ProductAtRevision with a custom marshaler to produce the "run_info" object in wptreport.json.
SubTest models a single test within a WPT test file.
TestResults captures the results of running the tests in a WPT test file.
TestResultsReport models the `wpt run` results report JSON file format.
TestRunLegacy is a copy of the TestRun struct, before the `Labels` field was added (which causes an array of array and breaks datastore).
TestRunsMetadata is a struct for metadata derived from a group of TestRun entities.
TestRunsMetadataLegacy is a struct for loading legacy TestRunMetadata entities, which may have nested TestRun entities.