config

package
v1.1.1-0...-ad4a294 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: MIT Imports: 2 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 {
	Repository string `yaml:"repository"` // In form: username/project_name
	Commands   map[string][]string
}

Config represents per project configuration loaded from the toolkit.yml file

func (*Config) Load

func (c *Config) Load(filename string) error

Load reads in a config file and unmarshals it into config struct

Jump to

Keyboard shortcuts

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