Discover Packages
github.com/flanksource/gomplate/v3
tests
package
Version:
v3.24.63
Opens a new window with list of versions in this module.
Published: Jan 2, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Address struct {
City string `json:"city_name"`
Country string `json:"country,omitempty"`
}
type File struct {
Name string `json:"name,omitempty"`
Size int64 `json:"size,omitempty"`
Mode string `json:"mode,omitempty"`
Modified time .Time `json:"modified,omitempty"`
IsDir bool `json:"is_dir,omitempty"`
}
type FolderCheck struct {
Oldest *File `json:"oldest,omitempty"`
Newest *File `json:"newest,omitempty"`
MinSize *File `json:"smallest,omitempty"`
MaxSize *File `json:"largest,omitempty"`
TotalSize int64 `json:"size,omitempty"`
AvailableSize int64 `json:"availableSize,omitempty"`
Files []File `json:"files,omitempty"`
}
type JunitTest struct {
Name string `json:"name" yaml:"name"`
}
type JunitTestSuite struct {
Name string `json:"name"`
Totals `json:",inline"`
Tests []JunitTest `json:"tests"`
}
type JunitTestSuites struct {
Suites []JunitTestSuite `json:"suites,omitempty"`
Totals `json:",inline"`
}
type Person struct {
Name string `json:"name"`
Age int `json:"age,omitempty"`
Address *Address `json:",omitempty"`
MetaData map[string ]any `json:",omitempty"`
Codes []string `json:",omitempty"`
Addresses []Address `json:"addresses,omitempty"`
}
type SQLDetails struct {
Rows []map[string ]interface{} `json:"rows,omitempty"`
Count int `json:"count,omitempty"`
}
type Totals struct {
Passed int `json:"passed"`
Failed int `json:"failed"`
Skipped int `json:"skipped,omitempty"`
Error int `json:"error,omitempty"`
Duration float64 `json:"duration"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.