config

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2019 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 {
	Repositories []string `yaml:"repositories"`
}

Config holds repository list (e.g. loadable from YAML file) NB! There are no mapping between main.Options and config.Config! We could implement it, but we need to see an explicit demand for this feature from our stakeholders.

func LoadYAMLFile

func LoadYAMLFile(path string) (*Config, error)

LoadYAMLFile loads YAML file into Config structure

Jump to

Keyboard shortcuts

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