Help us shape the future of Go! Take the 2026 Go Developer Survey

chctx

package
v1.35.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package chctx marks a context that carries a caller statement settings map, so the driver's connection wrapper leaves that map in place.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Has

func Has(ctx context.Context) bool

Has reports whether ctx or a parent was marked by Mark.

func Mark

func Mark(ctx context.Context) context.Context

Mark returns a child of ctx that Has reports as marked.

Types

This section is empty.

Jump to

Keyboard shortcuts

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