Registry / serialization / tendermint-go-amino

tendermint-go-amino

JSON →
library0.16.0gogounverified

An encoding library that can handle interfaces (like protobuf 'oneof') well.

go get github.com/tendermint/go-amino
INSTALL
IMPORT
SIG · TENDERMINT-GO-AMIN
T
tendermint-go-amino
serializationgov0.16.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.

amino
github.com/tendermint/go-amino

Creates a new Amino codec and registers an interface.

package main import ( "fmt" "github.com/tendermint/go-amino" ) func main() { cdc := amino.NewCodec() cdc.RegisterInterface((*MyInterface)(nil), nil) fmt.Println("codec created") } type MyInterface interface { DoSomething() }
Debug
Known issues
gotchaAmino is deprecated in favor of Protocol Buffers for new projects.
fix
Consider using protobuf for new development.
affects: >=0.15.0
Upgrade
Version history
0.16.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources
tendermint-go-amino — go get tendermint-go-amino · libregistry