coverageschema

package
v0.0.0-...-e764a6b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const Schema = `` /* 242-byte string literal not displayed */

Variables

View Source
var TestSuiteMapping = []string{
	"id",
	"file_name",
	"builder_name",
	"test_suite_name",
	"last_modified",
}

Functions

This section is empty.

Types

type CoverageSchema

type CoverageSchema struct {
	ID string `sql:"id UUID PRIMARY KEY DEFAULT gen_random_uuid()"`

	// Relative path of filename.
	FileName string `sql:"file_name STRING NOT NULL"`

	// Name of builder.
	BuilderName string `sql:"builder_name STRING NOT NULL"`

	// Name of builder.
	TestSuiteName []string `sql:"test_suite_name STRING ARRAY NOT NULL"`

	// Stored as a Unit timestamp.
	LastModified time.Time `sql:"last_modified TIMESTAMPTZ DEFAULT now()"`
}

CoverageSchema represents the SQL schema of the Coverage table.

type Tables

type Tables struct {
	TestSuiteMapping []CoverageSchema
}

Tables represents the full schema of the SQL database.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL