gocloud.google.com/go/internal/protostruct Index | Files

package protostruct

import "cloud.google.com/go/internal/protostruct"

Package protostruct supports operations on the protocol buffer Struct message.

Index

Functions

func DecodeToMap

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.

Source Files

protostruct.go

Version
v0.46.2
Published
Sep 13, 2019
Platform
darwin/amd64
Imports
1 packages
Last checked
1 hour ago

Tools for package owners.