testutils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateNormalizedJSON

func GenerateNormalizedJSON(j string) string

GenerateNormalizedJSON generates a normalized JSON from the string given to the function. Useful to compare JSON contents that may have differences due to formatting. It returns nil in case of invalid JSON.

Types

This section is empty.

Jump to

Keyboard shortcuts

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