packer-cn/packer/rpc/init.go

10 lines
164 B
Go
Raw Normal View History

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