Convert Toml to golang struct.
Inspired by gojson
This tool isn't release, so many bug and not support all data type.
cat $GOPATH/src/github.com/ota42y/gotoml/example/normal.toml | gotoml
To install, use go get
:
$ go get github.com/ota42y/gotoml/gotoml
- Fork (https://github.com/ota42y/gotoml/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
go test ./...
command and confirm that it passes - Run
gofmt -s
- Create a new Pull Request