package
1.0.1
Repository: https://github.com/couchbase/tools-common.git
Documentation: pkg.go.dev

# Functions

DecodeJSON decodes data from the provided reader into the given interface fatally terminating the current test in the event of a failure.
EncodeJSON marshals then writes the provided interface to the given writer fatally terminating the current test in the event of a failure.
MarshalJSON marshals the provided interface to JSON fatally terminating the current test in the event of a failure.
Read len(data) bytes from the provided reader fatally terminating the current test in the even of a failure.
ReadAll the data from the provided reader fatally terminating the current test in the even of a failure.
UnmarshalJSON unmarshals the provide JSON data into the given interface fatally terminating the current test in the even of a failure.
Write the given data to the provided writer fatally terminating the current test in the event of a failure.