github.com/1lann/fill

A Go (golang) library to fill structs from a map[string]interface{}.


License
Unlicense
Install
go get github.com/1lann/fill

Documentation

Fill

GoDoc

A Go (golang) library to fill structs from a map[string]interface{}. Kind of like the opposite of https://github.com/fatih/structs.

TODO

Add support for arrays.

Examples

// TODO: Add examples xD

For more examples, refer to the GoDoc or examples_test.go.

License

Fill is released into the public domain without a copyright (because of how short and simple it is). Refer to the LICENSE for more information.