util

package
v0.2.0-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToInterface

func BytesToInterface(bytes []byte) (interface{}, error)

func MapToProtobufStruct

func MapToProtobufStruct(m map[string]interface{}) (*structpb.Struct, error)

func ProtobufStructToMap

func ProtobufStructToMap(s *structpb.Struct) (map[string]interface{}, error)

func ProtobufStructToStruct

func ProtobufStructToStruct(s *structpb.Struct) (interface{}, error)

func StructToProtobufStruct

func StructToProtobufStruct(s interface{}) (*structpb.Struct, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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