protomongo

package
Version: v1.0.0-alpha.5....-92764c3 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProtobufCodec

func NewProtobufCodec() *protobufCodec

Returns a new instance of protobufCodec. protobufCodec is a MongoDB codec. It encodes protobuf objects using the protobuf field numbers as document keys. This means that stored protobufs can survive normal protobuf definition changes, e.g. renaming a field.

func TagToElementName

func TagToElementName(tag int) string

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL