gen

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TypesGoTpl = `` /* 130-byte string literal not displayed */

Functions

func ParseTemplate

func ParseTemplate(data interface{}, tplT []byte) ([]byte, error)

ParseTemplate template

Types

type GeneratedFile

type GeneratedFile struct {
	Path    string
	Content bytes.Buffer
	Skip    bool
}

func Generate

func Generate(plugin *plugin.Plugin) ([]*GeneratedFile, error)

Jump to

Keyboard shortcuts

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