Skip to content

Commit 4413231

Browse files
committed
#72 Initialize the ReturnedBy using make()
1 parent 08d3037 commit 4413231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rhost/lib.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ package rhost
1313
import "strings"
1414
import "libsisimai.org/sisimai/sis"
1515

16-
var ReturnedBy = map[string]func(*sis.Fact) string {}
16+
var ReturnedBy = make(map[string]func(*sis.Fact) string, 19) // grep '^func init' ./rhost/for-*.go | wc -l
1717
var RhostClass = map[string][]string{
1818
"Aol": []string{".mail.aol.com", ".mx.aol.com"},
1919
"Apple": []string{".mail.icloud.com", ".apple.com", ".me.com"},

0 commit comments

Comments
 (0)