testcontext

package
v1.0.12184-08c331c Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package testcontext provides a context with o11y wired in, setup for coloured logging and no-op metrics.

TL;DR - will give your tests pretty logs!

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Background

func Background() context.Context

Background returns a context for use in tests which contains a working o11y, so you get logs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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