cont

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Key = struct{}{}

Functions

func PutToContext

func PutToContext(ctx context.Context, obj any) context.Context

Types

type Goodies

type Goodies struct {
	Cfg     *config.Config
	Log     *types.Logger
	Widgets types.WidgetRegistry
	Sound   types.Sound
	Obs     types.Obs
}

container with all my goodies

func FromContext

func FromContext(ctx context.Context) *Goodies

Jump to

Keyboard shortcuts

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