Documentation ¶
Index ¶
- Constants
- Variables
- func CloneList[T VTMessageTyped[T]](list []T) []T
- func Equal(m1, m2 proto.Message) bool
- func GzipBytes(b []byte) ([]byte, error)
- func MarshalBytesAndJson(msg proto.Message) ([]byte, []byte, error)
- func MarshalBytesGzipped(msg proto.Message) ([]byte, error)
- func MarshalBytesZstd(msg proto.Message) ([]byte, error)
- func ProtoListEqual[T proto.Message](a, b []T) bool
- func TemplateExecute(msg proto.Message, templateData map[string]interface{}) error
- func TransformStrings(msg proto.Message, transform func(string) (string, error)) error
- func UngzipBytes(b []byte) (uncompressed []byte, finalErr error)
- func Unmarshal(fileType, fileName string, bytes []byte, message proto.Message, ...) error
- func UnmarshalGzippedProto(b []byte, msg proto.Message) error
- func UnmarshalZstdProto(b []byte, msg proto.Message) error
- func ZstdCompressBytes(b []byte) ([]byte, error)
- func ZstdUncompressBytes(b []byte) (uncompressed []byte, finalErr error)
- type ProtoHash
- type VTMessage
- type VTMessageTyped
Constants ¶
View Source
const FileTypeInfer = "infer"
Variables ¶
Functions ¶
func CloneList ¶
func CloneList[T VTMessageTyped[T]](list []T) []T
func ProtoListEqual ¶
func TemplateExecute ¶
func TransformStrings ¶
func UngzipBytes ¶
func ZstdCompressBytes ¶
func ZstdUncompressBytes ¶
Types ¶
type VTMessageTyped ¶
Click to show internal directories.
Click to hide internal directories.