package hctx
import "github.com/gobuffalo/plush/v5/helpers/hctx"
Index ¶
Types ¶
type Context ¶
type Context interface { context.Context New() Context Has(key string) bool Update(key string, value interface{}) bool Set(key string, value interface{}) }
type HelperContext ¶
type HelperContext interface { Context Block() (string, error) BlockWith(Context) (string, error) HasBlock() bool Render(s string) (string, error) }
type Map ¶
type Map map[string]interface{}
Map is a standard map[string]interface{} for use throughout the helper packages.
func Merge ¶
Merge creates a single Map from any number of Maps. Latter key/value pairs will overwrite earlier pairs.
Source Files ¶
- Version
- v5.0.5 (latest)
- Published
- May 23, 2025
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 1 week ago –
Tools for package owners.