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
}
Click to show internal directories.
Click to hide internal directories.