Documentation ¶ Index ¶ func Main(o Opts) error type Opts Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Main ¶ func Main(o Opts) error Types ¶ type Opts ¶ type Opts struct { FlagSet *flag.FlagSet Args []string // CreateBackend is called after calling o.FlagSet.Parse(o.Args). CreateBackend func() (base.Backend, error) } Source Files ¶ View all Source files cmd.go Click to show internal directories. Click to hide internal directories.