tmplvar

package
v0.0.0-...-7983b3b Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TemplateVar

type TemplateVar struct {
	Raw, Name, Key []byte
}

TemplateVar is the info for a parsed template variable.

func Parse

func Parse(b []byte) []TemplateVar

Parse returns parsed template variables found in the input data.

func ParseString

func ParseString(s string) []TemplateVar

ParseString returns parsed template variables found in the input string.

Jump to

Keyboard shortcuts

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