tmplprocess

package
v0.0.0-...-7404c28 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package tmplprocess is used for template process

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TmplProcessor

type TmplProcessor interface {
	ExtractVariables(template []byte) []string
	Render(template []byte, variablesKV map[string]interface{}) []byte
}

TmplProcessor is the interface for search

func NewTmplProcessor

func NewTmplProcessor() TmplProcessor

NewTmplProcessor new a TmplProcessor

Jump to

Keyboard shortcuts

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