Skip to content

Commit

Permalink
fix: remove underscore receiver
Browse files Browse the repository at this point in the history
  • Loading branch information
somebadcode committed Feb 11, 2025
1 parent 3475c74 commit dd20af7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flag_text_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ import (

type badMarshaller struct{}

func (_ badMarshaller) UnmarshalText(_ []byte) error {
func (badMarshaller) UnmarshalText(_ []byte) error {
return nil
}

func (_ badMarshaller) MarshalText() ([]byte, error) {
func (badMarshaller) MarshalText() ([]byte, error) {
return nil, errors.New("bad")
}

Expand Down

0 comments on commit dd20af7

Please # to comment.