Documentation ¶
Index ¶
- func CheckGoPath(path string) (string, error)
- func DirAlloc(name string) *_dir
- func NewDirToc(destDirAbs string, importRoot string, dirName string, subDirNames []string) *dirToc
- func NewTranslationUnit(importRoot string, packageName string, srcFile string, basename string, ...) *translationUnit
- func Sanitize(n string) (value string)
- func Sanitize2(n string) (value string)
- type EmbedFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckGoPath ¶
Searches the GOPATH and checks if the given path (absolute path) is relative to a component in the GOPATH. If so, return the path without the src or pkg so that the path is suitable for using as import statements
func NewTranslationUnit ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.