Skip to content

move the marshaler to package super and simplify naming - #7362

Open
mccanne wants to merge 4 commits into
mainfrom
super-marshal
Open

mccanne wants to merge 4 commits into
mainfrom
super-marshal

Conversation

@mccanne

@mccanne mccanne commented Sep 28, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread marshal.go Outdated
func Marshal(v any) (string, error) {
return NewMarshaler().Marshal(v)
type CustomMarshaler interface {
Marshal(*Marshaler) (Type, error)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The conventional name for this would be MarshalSuper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants