Registry / serialization / near-borsh-go

near-borsh-go

JSON →
library0.3.1gogounverified

Implements the Borsh binary serialization format for Go, used in NEAR Protocol.

go get github.com/near/borsh-go
INSTALL
IMPORT
SIG · NEAR-BORSH-GO
N
near-borsh-go
serializationgov0.3.1
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.

borsh
✓ github.com/near/borsh-go

Serializes a struct using Borsh binary format.

package main import ( "fmt" "github.com/near/borsh-go" ) type Example struct { X uint64 Y string } func main() { data, _ := borsh.Serialize(Example{X: 1, Y: "hello"}) fmt.Println(data) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
near-borsh-go — go get near-borsh-go · libregistry