hctx

package
v0.6.10 Latest Latest
Warning

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

Go to latest
Published: May 16, 2025 License: MIT Imports: 1 Imported by: 16 modules, 14 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context interface {
	context.Context
	New() Context
	Has(key string) 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

func Merge(maps ...Map) Map

Merge creates a single Map from any number of Maps. Latter key/value pairs will overwrite earlier pairs.

Jump to

Keyboard shortcuts

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