package
0.5.0
Repository: https://github.com/ibrt/golang-lib.git
Documentation: pkg.go.dev

# Functions

MustMarshal is like json.Marshal but panics on error.
MustMarshalPretty is like json.MarshalIndent with prefix = "" and indent = " " but panics on error.
MustMarshalPrettyString is like MustMarshalIndent but returns a string.
MustMarshalString is like MustMarshal but returns a string.
MustUnmarshal is like Unmarshal but panics on error.
MustUnmarshalString is like UnmarshalString but panics on error.
Unmarshal is like json.Unmarshal but instantiates the target using a generic type.
UnmarshalString is like Unmarshal but accepts a string.