Skip to content

Go library for transcoding data from KVs (libkv) to data structures and vice versa

License

Notifications You must be signed in to change notification settings

andersnormal/kvstructure

Repository files navigation

kvstructure

GoDoc Build Status Taylor Swift Volkswagen Go Report Card

Go library for transcoding data from KVs supported by libkv to structs, string, int, uint and float32 and vice versa.

Example

transcoder, err := NewTranscoder(
	TranscoderWithKV(kv),
	TranscoderWithPrefix("prefix"),
)
    
if err != nil {
    return err
}

tt := &Example{
	Description: "bar",
	Enabled: true,
}

if err := transcoder.Transcode("foo", &tt) {
    return err
}

License

Apache 2.0

About

Go library for transcoding data from KVs (libkv) to data structures and vice versa

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published