gen

package
v0.0.0-...-3948e75 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2020 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const GeneratedBy = "ec3"

GeneratedBy is the name used in code generation warnings.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Path   string
	Source []byte
}

type Files

type Files []File

func Merge

func Merge(collections ...Files) Files

func (*Files) Add

func (f *Files) Add(path string, src []byte)

func (*Files) AddTemplates

func (f *Files) AddTemplates(env tmpl.Environment, filenames []string, transforms []tmpl.Transform) error

func (*Files) CompileAsm

func (f *Files) CompileAsm(pkg, prefix string, ctx *build.Context) error

func (Files) Output

func (f Files) Output(path string) error

Output writes bundled files to disk rooted at path. Directories are created as necessary.

Directories

Path Synopsis
Package fmla generates functions from formulae.
Package fmla generates functions from formulae.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL