config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 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 {
	Release  Release         `yaml:"release,omitempty"`
	Manifest distro.Manifest `yaml:"manifest"`
}

func Load

func Load(configFile string) (cfg *Config, err error)

func New

func New() *Config

type GitHub

type GitHub struct {
	Owner string `yaml:"owner"`
	Repo  string `yaml:"repo"`
}

type Release

type Release struct {
	GitHub     GitHub   `yaml:"github"`
	Header     string   `yaml:"header,omitempty"`
	Footer     string   `yaml:"footer,omitempty"`
	ExtraFiles []string `yaml:"extra_files"`
}

Jump to

Keyboard shortcuts

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