config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Path = ".gotcha.yaml"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Include []string `yaml:"include"`
	Exclude []string `yaml:"exclude"`
	Args    []string `yaml:"args"`
}

func Default

func Default() *Config

func Load

func Load() (Config, error)

func LoadByPath

func LoadByPath(path string) (Config, error)

func (Config) PackagesToTest

func (c Config) PackagesToTest() ([]string, error)

func (Config) ShouldExclude

func (c Config) ShouldExclude(path string) bool

Jump to

Keyboard shortcuts

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