sharedcontext

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Root

type Root struct {
	Ctx         context.Context
	CancelCause context.CancelCauseFunc
	Format      sharedconfig.FormatConfig
	Walk        sharedconfig.WalkConfig
}

func NewRoot

func NewRoot(ctx context.Context) *Root

func (*Root) PersistentPostRunE

func (cli *Root) PersistentPostRunE(_ *cobra.Command) func(*cobra.Command, []string) error

func (*Root) PersistentPreRunE

func (cli *Root) PersistentPreRunE(cmd *cobra.Command) func(*cobra.Command, []string) error

Jump to

Keyboard shortcuts

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