package utils import "encoding/hex" func MustDecodeHex(s string) []byte { b, err := hex.DecodeString(s) if err != nil { panic(err) } return b }