Help us shape the future of Go! Take the 2026 Go Developer Survey

templatenamespace

package
v0.5.637 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configurator added in v0.5.375

type Configurator interface {
	GetObjectName(string) string
	IsAllowed(string) bool
	RenderTemplate(string) (string, error)
}

func NewTemplateNamespaceConfigurator

func NewTemplateNamespaceConfigurator(
	regex *regexp.Regexp,
	tmpl *template.Template,
) (Configurator, error)

Jump to

Keyboard shortcuts

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