packer-cn/packer/rpc/init.go

11 lines
202 B
Go
Raw Normal View History

package rpc
import "encoding/gob"
func init() {
gob.Register(new(map[string]interface{}))
gob.Register(new(map[string]string))
gob.Register(make([]interface{}, 0))
gob.Register(new(BasicError))
}