hookutil

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultTemplate = `{{ .Summary }}`
)

Functions

func PostRequest

func PostRequest(url string, contentType string, body io.Reader) (string, error)

func RenderTemplate

func RenderTemplate(text string, vars interface{}) (string, error)

func RenderTemplateOrDefault

func RenderTemplateOrDefault(template string, defaultTmpl string, vars interface{}) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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