import "cloud.google.com/go/internal/protostruct"
Package protostruct supports operations on the protocol buffer Struct message.
protostruct.go
func DecodeToMap(s *pb.Struct) map[string]interface{}
DecodeToMap converts a pb.Struct to a map from strings to Go types. DecodeToMap panics if s is invalid.