config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	LogLevel string

	Paths []string

	Extention struct {
		Includes []string
		Excludes []string
	}

	Report struct {
		Type string
	}
}

func NewConfig

func NewConfig(opts ...Option) *Config

type Exclude

type Exclude string

func (Exclude) Apply

func (o Exclude) Apply(c *Config)

type Include

type Include string

func (Include) Apply

func (o Include) Apply(c *Config)

type LogLevel

type LogLevel string

func (LogLevel) Apply

func (o LogLevel) Apply(c *Config)

type Option

type Option interface {
	Apply(*Config)
}

type Path

type Path string

func (Path) Apply

func (o Path) Apply(c *Config)

type ReportType

type ReportType string

func (ReportType) Apply

func (o ReportType) Apply(c *Config)

Jump to

Keyboard shortcuts

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