Documentation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractYear ¶
ExtractYear returns the copyright year of a Go-HEP header file.
func GenImports ¶
GenImports adds the provided imports to the given writer.
Types ¶
type RFunc ¶
type RFunc struct { Pkg string // Name of package hosting the formula to be generated. Path string // Import path of the package holding the function. Name string // Formula name. Def string // Function name or signature. }
RFunc describes which function should be used as a template to implement the rtree/rfunc.Formula interface.