github.com/rothwerx/packer@v0.9.0/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  }