templates

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cgo

func Cgo() (*template.Template, error)

Cgo template (text/template)

func ReplaceFnBody

func ReplaceFnBody(fn string, body ...string) string

func Wazero

func Wazero() (*template.Template, error)

Wazero template (text/template)

func WazeroRuntime

func WazeroRuntime() string

Wazero runtime file (no need to edit so is a string)

Types

type CgoTemplate

type CgoTemplate struct {
	Functions   []parser.GoFn
	Package     string
	GursVersion string
}

Jump to

Keyboard shortcuts

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