Skip to content

Commit 2cc5fa1

Browse files
committed
#72 Initialize the InquireFor using make()
1 parent 4413231 commit 2cc5fa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lhost/lib.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
package lhost
1212
import "libsisimai.org/sisimai/sis"
1313

14-
// Keep each function for decoding a bounce mail
15-
var InquireFor = map[string]func(*sis.BeforeFact) sis.RisingUnderway {}
14+
// Keep each function for decoding a bounce mail: % grep '^func init' ./lhost/via-*.go | wc -l
15+
var InquireFor = make(map[string]func(*sis.BeforeFact) sis.RisingUnderway, 36)
1616

1717
// INDICATORS() returns flags for position variables used at MTA functions in sisimai/lhost.
1818
func INDICATORS() map[string]uint8 {

0 commit comments

Comments
 (0)