unify MarshalOrPanic functions
tock-ibm opened this issue · comments
We need to open issue to unify this MarshalOrPanic functions, because we have multiple same functions in sdk:
bcdb.MarshalOrPanic
commands.marshalOrPanic
and commands.marshalToStringOrPanic
Originally posted by @gennadylaventman in hyperledger-labs/orion-server#230 (comment)