Skip to content

Commit

Permalink
Run 'go fmt' on matchers/children.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Jul 4, 2020
1 parent b3fd4b7 commit 834e23b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions matchers/children.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"github.com/h2non/filetype/types"
)

// Store any types with registered children
// ChildMatchers stores any registered children for a given type
var ChildMatchers = make(map[types.Type][]TypeMatcher)

// ChildMatcher creates a TypeMatcher as a child of the parent Type
Expand All @@ -18,5 +18,3 @@ func ChildMatcher(parent types.Type, kind types.Type, fn ByteMatcher) ByteMatche
func (m TypeMatcher) AddChild(kind types.Type, fn ByteMatcher) {
_ = ChildMatcher(m.myType, kind, fn)
}


0 comments on commit 834e23b

Please sign in to comment.