Documentation ¶ Index ¶ func Execute() type Config func GetConfigFromViper() (*Config, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Execute ¶ func Execute() Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd. Types ¶ type Config ¶ type Config struct { Server server.Config } func GetConfigFromViper ¶ func GetConfigFromViper() (*Config, error) Source Files ¶ View all Source files init.go initTestcase.go root.go start.go Click to show internal directories. Click to hide internal directories.