Documentation ¶ Index ¶ Variables func Execute() type Config Constants ¶ This section is empty. Variables ¶ View Source var ( // Version represents the version. Version = "dev" // Revision set "git rev-parse --short HEAD". Revision = "HEAD" ) 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 { DSN string `yaml:"dsn"` AfterCompletion int `yaml:"AfterCompletion"` Interval float64 `yaml:"Interval"` FullScreen bool `yaml:"FullScreen"` } Source Files ¶ View all Source files root.go Directories ¶ Show internal Expand all Path Synopsis pgsp Click to show internal directories. Click to hide internal directories.