github.com/mmcquillan/packer@v1.1.1-0.20171009221028-c85cf0483a5d/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 }