Help us shape the future of Go! Take the 2026 Go Developer Survey

root

package
v0.12.11 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(ctx context.Context) (*cobra.Command, error)

Types

type ContextResolver

type ContextResolver struct {
	Quiet   bool
	Debug   bool
	Version bool
}

func (*ContextResolver) Flags

func (me *ContextResolver) Flags(flgs *pflag.FlagSet)

func (*ContextResolver) Run

func (me *ContextResolver) Run(cmd *cobra.Command) (context.Context, error)

type CustomInterface

type CustomInterface interface {
}

type CustomInterfaceStruct

type CustomInterfaceStruct struct {
}

type CustomResolver

type CustomResolver struct {
}

func (*CustomResolver) Flags

func (me *CustomResolver) Flags(flgs *pflag.FlagSet)

func (*CustomResolver) Run

func (me *CustomResolver) Run() (CustomInterface, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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