Skip to content

Commit 834e23b

Browse files
committed
Run 'go fmt' on matchers/children.go
1 parent b3fd4b7 commit 834e23b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

matchers/children.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"github.com/h2non/filetype/types"
55
)
66

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

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

0 commit comments

Comments
 (0)