• Bobby Powers's avatar
    gob: register more slice types · 050d839d
    Bobby Powers authored
    Without explicitly registering slice types, gob fails to encode
    map[string]interface{} instances where the value is a slice,
    failing with a message such as:
    
      gob: type not registered for interface: []string
    
    Fixes #2065.
    
    R=golang-dev, gri, r
    CC=golang-dev
    https://golang.org/cl/4672056
    050d839d
type.go 22 KB