tools

package
v0.61.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2019 License: AGPL-3.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindContextRefsInTemplate

func FindContextRefsInTemplate(template string, allowedTopLevels []string, callback func([]string)) error

FindContextRefsInTemplate audits context references in the given template

func RefactorTemplate

func RefactorTemplate(template string, allowedTopLevels []string) (string, error)

RefactorTemplate refactors the passed in template

Types

This section is empty.

Jump to

Keyboard shortcuts

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