github.com/jerryclinesmith/packer@v0.3.7/packer/rpc/init.go (about) 1 package rpc 2 3 import "encoding/gob" 4 5 func init() { 6 gob.Register(new(map[string]interface{})) 7 gob.Register(new(map[string]string)) 8 gob.Register(make([]interface{}, 0)) 9 gob.Register(new(BasicError)) 10 }