Registry / serialization / fumiama-go-simple-protobuf

fumiama-go-simple-protobuf

JSON →
library0.2.0gogounverified

A lightweight Go library for encoding and decoding Protocol Buffers without code generation.

go get github.com/fumiama/go-simple-protobuf
INSTALL
IMPORT
SIG · FUMIAMA-GO-SIMPLE-
F
fumiama-go-simple-protobuf
serializationgov0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

simpleprotobuf
github.com/fumiama/go-simple-protobuf

Marshals and unmarshals a simple map to/from protobuf format.

package main import ( "fmt" "log" "github.com/fumiama/go-simple-protobuf" ) func main() { data := map[string]interface{}{"name": "Alice", "age": 30} encoded, err := simpleprotobuf.Marshal(data) if err != nil { log.Fatal(err) } var decoded map[string]interface{} err = simpleprotobuf.Unmarshal(encoded, &decoded) if err != nil { log.Fatal(err) } fmt.Println(decoded) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
fumiama-go-simple-protobuf — go get fumiama-go-simple-protobuf · libregistry