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

jsonutil

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package jsonutil provides JSON utility functions for testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnyBytes

func AnyBytes(t testing.TB, v any) []byte

AnyBytes returns the marshalled bytes of an Any proto wrapping the given message, or causes the test to fail.

Types

This section is empty.

Jump to

Keyboard shortcuts

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