context

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context interface {
	go_context.Context
	Cwd() string
	Variables() *immutable.Map[string, any]
	Helpers() *immutable.Map[string, any]
	WithVariables(vv *immutable.Map[string, any]) Context
	WithVariable(name string, val any) Context
	WithHelpers(helpers *immutable.Map[string, any]) Context
	WithCwd(cwd string) Context
}

func New

func New() Context

func With

func With(ctx go_context.Context) Context

func WithValue

func WithValue(ctx Context, key, val any) Context

Jump to

Keyboard shortcuts

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