package helpers
import "github.com/gobuffalo/plush/v5/helpers"
Index ¶
Variables ¶
var Base = hctx.Merge( Content, Debug, Encoders, Env, Escapes, Inflections, Iterators, Meta, Paths, Text, )
var Inflections = inflections.New()
Types ¶
type HelperMap ¶
type HelperMap struct {
// contains filtered or unexported fields
}
HelperMap holds onto helpers and validates they are properly formed.
func NewMap ¶
NewHelperMap containing all of the "default" helpers from "plush.Helpers".
func (*HelperMap) Add ¶
Add a new helper to the map. New Helpers will be validated to ensure they meet the requirements for a helper:
func (*HelperMap) AddMany ¶
AddMany helpers at the same time.
func (HelperMap) All ¶
func (HelperMap) Helpers ¶
Helpers returns the underlying list of helpers from the map
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
helpers/content | |
helpers/debug | |
helpers/encoders | |
helpers/env | |
helpers/escapes | |
helpers/hctx | |
helpers/helptest | |
helpers/inflections | |
helpers/iterators | |
helpers/meta | |
helpers/paths | |
helpers/text |
- Version
- v5.0.5 (latest)
- Published
- May 23, 2025
- Platform
- linux/amd64
- Imports
- 12 packages
- Last checked
- 2 weeks ago –
Tools for package owners.