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.
Click to show internal directories.
Click to hide internal directories.