config

package
v0.1.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Features = config.Features{
	{
		Name:    "boilerplate",
		Enabled: true,
	},
}

Features defines a list of available features.

Functions

This section is empty.

Types

type Git

type Git struct {
	Remote string `mapstructure:"remote"`
}

type GitHub

type GitHub struct {
	Token config.Secret `mapstructure:"token"`
}

type Tool

type Tool struct {
	Git    `mapstructure:"git,squash"`
	GitHub `mapstructure:"github,squash"`
	// contains filtered or unexported fields
}

func (*Tool) Bind

func (cnf *Tool) Bind(bind func(*viper.Viper) error) error

func (*Tool) Load

func (cnf *Tool) Load(fs afero.Fs, bindings ...func(*viper.Viper) error) error

Jump to

Keyboard shortcuts

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