structutil

package
v0.6.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 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 deprecated

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

Deprecated: use structpb.NewStruct() directly

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