why

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = NewCommand()

Cmd represents the why command.

Functions

func NewCommand

func NewCommand() *cobra.Command

NewCommand returns a new why command instance.

Types

type SymbolKind

type SymbolKind string
const (
	SymbolKindFunc   SymbolKind = "func"
	SymbolKindMethod SymbolKind = "method"
	SymbolKindType   SymbolKind = "type"
	SymbolKindVar    SymbolKind = "var"
	SymbolKindConst  SymbolKind = "const"
)

type SymbolMeta

type SymbolMeta struct {
	Kind     SymbolKind `json:"kind"`
	Receiver string     `json:"receiver,omitempty"`
	Exported bool       `json:"exported"`
}

Jump to

Keyboard shortcuts

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