Skip to content

Commit

Permalink
golint: ignore some long functions
Browse files Browse the repository at this point in the history
  • Loading branch information
willnorris committed Feb 23, 2024
1 parent 62954c8 commit 7240704
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ptd/ptd.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ import (
// microformat using the Post Type Algorithm.
//
// See also https://www.w3.org/TR/post-type-discovery/#algorithm
//
//nolint:funlen
func PostType(item *microformats.Microformat) string {
if item == nil {
return ""
Expand Down
1 change: 1 addition & 0 deletions rhc/rhc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"willnorris.com/go/microformats"
)

//nolint:funlen
func TestRepresentativeHcard(t *testing.T) {
tests := []struct {
name string
Expand Down

0 comments on commit 7240704

Please sign in to comment.