MrSaints / go-struct-registry

A simple "global" Go struct registry, and an accompanying code generator to register structs for dynamic initialisation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-struct-registry

Experimental, and unmaintained. Use at your own risk.

A simple "global" Go struct registry, and an accompanying code generator to register structs for dynamic initialisation.


go-struct-registry was conceived out of an attempt at building a composable platform for bridging services with some level of type safety. Passing messages from producer to consumer for example, is not often a type safe operation (though, that is something Avro intends to solve). It is now left as remnants of an experiment into Go's type introspection, and reflection capabilities.

About

A simple "global" Go struct registry, and an accompanying code generator to register structs for dynamic initialisation.

License:MIT License


Languages

Language:Go 100.0%