diff --git a/api/marshal.go b/api/marshal.go index ec316e836..adf7e94a3 100644 --- a/api/marshal.go +++ b/api/marshal.go @@ -5,7 +5,7 @@ type BytesMarshaler interface { MarshalBytes() ([]byte, error) } -// BytesMarshaler marshals into a struct representation +// StructMarshaler marshals into a struct representation type StructMarshaler interface { MarshalStruct() (any, error) }