config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigFile

func GetConfigFile(configPath string) ([]byte, error)

Types

type ConfigFile

type ConfigFile struct {
	MinCoveragePercentage float64         `yaml:"min_coverage_percentage"`
	Packages              []ConfigPackage `yaml:"packages"`
}

func (ConfigFile) GetPackage

func (c ConfigFile) GetPackage(pkg string) (ConfigPackage, bool)

type ConfigPackage

type ConfigPackage struct {
	Name                  string  `yaml:"name"`
	MinCoveragePercentage float64 `yaml:"min_coverage_percentage"`
}

Jump to

Keyboard shortcuts

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