slim

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StructLike = `` /* 1638-byte string literal not displayed */

	Client = `
{{define "Client"}}
{{InsertionPoint "slim.Client"}}
{{end}}{{/* define "Client" */}}`

	Processor = `
{{define "Processor"}}
{{InsertionPoint "slim.Processor"}}
{{- end}}{{/* define "Processor" */}}
	`
)

Substitutions. Because text.Templates will not substitute an existing template with an empty one, we use insertion points to walk around this problem and achieve deleting templates.

Functions

func Extension

func Extension() []string

Extension .

Types

This section is empty.

Jump to

Keyboard shortcuts

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