Documentation ¶
Overview ¶
Package gensnippets processes GoDoc examples.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSnippetsDirs ¶
func GenerateSnippetsDirs(rootDir, outDir string, apiShortNames map[string]string, dirs []string) error
GenerateSnippetsDirs takes in specified modules in rootDir and outputs their examples in outDir. If a single directory is passed in that is the root directory, all modules will be run.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.