Skip to content

marshal-receiver

Keep marshal receiver types consistent.

Updated View as Markdown

Default severity: warning

Keep marshal receiver types consistent. Default: standard method families.

Bad

func (value Value) MarshalJSON() ([]byte, error)
func (value *Value) UnmarshalJSON([]byte) error

Good

func (value *Value) MarshalJSON() ([]byte, error)
func (value *Value) UnmarshalJSON([]byte) error
Navigation

Type to search…

↑↓ navigate↵ selectEsc close