Documentation
¶
Index ¶
- func Aliases(data []byte, aliasesTmplPath, aliasesTmplName, commit string) ([]byte, error)
- func Documentation(data []byte, documentationTmplPath, documentationTmplName, commit string) ([]byte, error)
- func Extensions(data []byte, extensionsTmplPath, extensionsTmplName, commit string) ([]byte, error)
- func Filenames(data []byte, filenamesTmplPath, filenamesTmplName, commit string) ([]byte, error)
- func FromFile(fileToParse, outPath, tmplPath, tmplName, commit string, generate Func) error
- func Heuristics(heuristics []byte, contentTmplPath, contentTmplName, commit string) ([]byte, error)
- func Interpreters(data []byte, interpretersTmplPath, interpretersTmplName, commit string) ([]byte, error)
- func Types(data []byte, typeTmplPath, typeTmplName, commit string) ([]byte, error)
- func Vendor(data []byte, vendorTmplPath, vendorTmplName, commit string) ([]byte, error)
- type Func
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Documentation ¶
func Documentation(data []byte, documentationTmplPath, documentationTmplName, commit string) ([]byte, error)
Documentation reads from buf and builds documentation_matchers.go file from documentationTmplPath.
func Extensions ¶
Extensions reads from buf and builds extensions_map.go file from extensionsTmplPath.
func FromFile ¶
FromFile read data to parse from a file named fileToParse and write the generated source code to a file named outPath. The generated source code is formated with gofmt and tagged with commit.
func Heuristics ¶
Heuristics reads from buf and builds content.go file from contentTmplPath.
func Interpreters ¶
func Interpreters(data []byte, interpretersTmplPath, interpretersTmplName, commit string) ([]byte, error)
Interpreters reads from buf and builds interpreters_map.go file from interpretersTmplPath.
Types ¶
Click to show internal directories.
Click to hide internal directories.