testutils

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareToGoldenFile

func CompareToGoldenFile(t *testing.T, v interface{}, file string, update bool)

CompareToGoldenFile compares the value of v to file in bytes. If update is true, it will update the the golden file using the value of v.

func ParseWebhookJSONFromFile

func ParseWebhookJSONFromFile(f string) (webhook.Message, error)

ParseWebhookJSONFromFile is a helper for parsing webhook data from JSON files.

Types

This section is empty.

Jump to

Keyboard shortcuts

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