common_test

package
v0.0.0-...-c8397cc Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBodyBuffer

func NewBodyBuffer(t *testing.T, body interface{}) *bytes.Buffer

func NewStringResponse

func NewStringResponse(code int, message string, data interface{}) string

func NewTestLogger

func NewTestLogger(t *testing.T) *slog.Logger

func NewTestTracer

func NewTestTracer(t *testing.T) (trace.Tracer, func(ctx context.Context) error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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