package
2.8.3
Repository: https://github.com/contiamo/go-base.git
Documentation: pkg.go.dev

# Functions

DiscardLogging sets the global Logrus output to utils.Discard.
JSONEq asserts that two JSON strings are equivalent or both empty.
SetupLoggingBuffer creates an empty buffer and sets it as a Logrus output globally.
ToJSONBytes converts any structure to a byte slice of its JSON representation.