config

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CfgFilePath string

Functions

This section is empty.

Types

type Config

type Config struct {
	ApplicationName   string `default:"protoenv"`
	Debug             bool   `default:"false"`
	RootDirectoryPath string `default:""`

	Protoc ProtocConfig
}

func InitConfig

func InitConfig() Config

InitConfig reads in config file and ENV variables if set.

type ProtocConfig

type ProtocConfig struct {
	InstallPath string
}

Jump to

Keyboard shortcuts

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