packer-cn/packer-plugin-sdk/rpc/init.go

10 lines
159 B
Go
Raw Normal View History

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