config

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: Apache-2.0 Imports: 4 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 {
	Mode string `yaml:"mode"`

	IsDefault bool
}

Config is a travelgrunt repo-level configuration

func DefaultConfig

func DefaultConfig() Config

DefaultConfig returns default travelgrunt repo-level configuration

func NewConfig

func NewConfig(path string) (cfg Config, err error)

NewConfig creates new travelgrunt repo-level configuration

func (Config) IncludeFn

func (cfg Config) IncludeFn() (fn func(os.DirEntry) bool)

IncludeFn returns the "include" function used to select relevant directories

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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