config

package
v0.0.0-...-c7cf771 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: MIT Imports: 3 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 {
	Detect map[string]Target `yaml:"detect"`
}

func FromFile

func FromFile(file string) (*Config, error)

type Target

type Target struct {
	Mode       string   `yaml:"mode"`
	Enviroment string   `yaml:"environment"`
	Paths      []string `yaml:"paths"`
}

Jump to

Keyboard shortcuts

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