Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IsTesting = strings.HasSuffix(os.Args[0], ".test") IsGithubActions = os.Getenv("GITHUB_ACTIONS") == "true" IsDrone = os.Getenv("DRONE") == "true" StdoutWriter = lo.Ternary[io.Writer](IsTesting, ginkgo.GinkgoWriter, os.Stdout) StderrWriter = lo.Ternary[io.Writer](IsTesting, ginkgo.GinkgoWriter, os.Stderr) )
Functions ¶
func MergeCoverProfiles ¶ added in v0.4.2
func MergeCoverProfiles(filenames []string, output io.Writer, opts ...ProfileOption) error
Types ¶
type ProfileOption ¶ added in v0.4.2
type ProfileOption func(*ProfileOptions)
func WithExcludePatterns ¶ added in v0.4.2
func WithExcludePatterns(excludePatterns ...string) ProfileOption
func WithKeepMergedProfiles ¶ added in v0.4.2
func WithKeepMergedProfiles(keep bool) ProfileOption
type ProfileOptions ¶ added in v0.4.2
type ProfileOptions struct {
// contains filtered or unexported fields
}
func (*ProfileOptions) Apply ¶ added in v0.4.2
func (o *ProfileOptions) Apply(opts ...ProfileOption)
Click to show internal directories.
Click to hide internal directories.