config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2022 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 {
		File      string
		Directory string
	}

	Extention struct {
		Includes string
		Excludes string
	}
}

func NewConfig

func NewConfig(opts ...Option) *Config

type Directory

type Directory string

func (Directory) Apply

func (o Directory) Apply(c *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)
}

Jump to

Keyboard shortcuts

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