Help us shape the future of Go! Take the 2026 Go Developer Survey

proto

package
v2.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "proto"

Variables

View Source
var DefaultCodec = &codec{}

Functions

func Marshal

func Marshal(v any) ([]byte, error)

Marshal 编码

func Unmarshal

func Unmarshal(data []byte, v any) error

Unmarshal 解码

Types

This section is empty.

Jump to

Keyboard shortcuts

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