Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmbedCommand ¶
EmbedCommand returns the CLI command for generating embed declarations
func ExamplesCommand ¶
ExamplesCommand returns the CLI command for managing Go examples
func LensCommand ¶
func McpCommand ¶
McpCommand returns the CLI command for starting the MCP server
Types ¶
type Example ¶
type Example struct {
ID string // "package::ExampleName"
Package string
Symbol string // "Type.Method" parsed from func name
Name string // "ExampleType_Method"
Code string
DocComment string
Output string // contents of // Output: block
Imports string // import statements needed by the example
File string
}
Example represents a Go example function
Click to show internal directories.
Click to hide internal directories.