cli

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LDFlags

type LDFlags struct {
	Version string
	Commit  string
	Date    string
}

func (*LDFlags) ShowVersion

func (flags *LDFlags) ShowVersion() string

type Runner

type Runner struct {
	Stdin     io.Reader
	Stdout    io.Writer
	Stderr    io.Writer
	LDFlags   *LDFlags
	LogConfig *zap.Config
}

func (*Runner) Run

func (runner *Runner) Run(ctx context.Context, logger *zap.Logger, args ...string) error

Jump to

Keyboard shortcuts

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