protostruct

package
v0.25.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package protostruct supports operations on the protocol buffer Struct message. This file is copied from github.com/googleapis/google-cloud-go/internal/protostruct/protostruct.go Since this is from an internal package, we maintain the original implementation as-is.

Index

Constants

This section is empty.

Variables

This section is empty.

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. Note: This function is copied from Google's internal package and maintains original panic behavior.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL