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

10 lines
159 B
Go

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