template

package
v0.0.0-...-34056af Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteTemplate

func ExecuteTemplate(file string, data interface{}) (string, error)

ExecuteTemplate 解析模板文件

func ExecuteTemplateString

func ExecuteTemplateString(text string, data interface{}) (string, error)

ExecuteTemplateString 解析文本字符串

func ParseDingtalkMsg

func ParseDingtalkMsg(path string) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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