config

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 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

	Path struct {
		Searches []string
	}

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

func NewConfig

func NewConfig(opts ...Option) *Config

type Excludes

type Excludes string

func (Excludes) Apply

func (o Excludes) Apply(c *Config)

type Includes

type Includes string

func (Includes) Apply

func (o Includes) 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 SearchPath added in v0.0.3

type SearchPath string

func (SearchPath) Apply added in v0.0.3

func (o SearchPath) Apply(c *Config)

Jump to

Keyboard shortcuts

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