github.com/askholme/packer@v0.7.2-0.20140924152349-70d9566a6852/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  }