protovalue

package
v0.0.0-...-a649549 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromGo

func FromGo(value interface{}) *structpb.Value

FromGo compiles a Go value to google.protobuf.Value. It panics on unexpected types. See https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Value

func ToGo

func ToGo(value *structpb.Value) interface{}

ToGo compiles a google.protobuf.Value value to Go. It panics on unexpected types. See https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Value

Types

This section is empty.

Jump to

Keyboard shortcuts

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