Documentation
¶
Index ¶
- func CodeToString(fset *token.FileSet, node interface{}) string
- func ReadPackageDirectory(sourceDirectory string) (*token.FileSet, *ast.Package, error)
- func ReadPackageFile(fset *token.FileSet, sourceFile string) (*ast.File, error)
- type Constant
- type Example
- type Function
- type Method
- type PackageDoc
- type Type
- type Variable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CodeToString ¶
func ReadPackageDirectory ¶
Types ¶
type PackageDoc ¶
type PackageDoc struct { PackageName string ImportPath string Doc string Examples []*Example Constants []*Constant Variables []*Variable Functions []*Function Types []*Type Imports []string }
func BuildPackageDoc ¶
Click to show internal directories.
Click to hide internal directories.