sample

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Value string `default:"default"`
	Cool  bool   `default:"false"`
	// contains filtered or unexported fields
}

func (*Handler) Args added in v0.26.0

func (me *Handler) Args() *args

func (*Handler) Command added in v0.26.0

func (me *Handler) Command() *cobra.Command

func (*Handler) Description added in v0.27.0

func (*Handler) Description() string

func (*Handler) Emoji added in v0.27.0

func (*Handler) Emoji() string

func (*Handler) Image added in v0.27.0

func (*Handler) Image() string

func (*Handler) Name added in v0.26.0

func (*Handler) Name() string

func (*Handler) Run

func (me *Handler) Run(
	ctx context.Context,
	read io.Reader,
	write io.Writer,
	en resolvers.SampleEnum,
	br io.ByteReader, bw io.ByteWriter, bs io.ByteScanner,
) (snake.Output, error)

Jump to

Keyboard shortcuts

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