gotoml

package module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2015 License: MIT Imports: 8 Imported by: 0

README

Circle CI Coverage Status License

gotoml

Description

Convert Toml to golang struct.
Inspired by gojson

This tool isn't release, so many bug and not support all data type.

Usage

cat $GOPATH/src/github.com/ota42y/gotoml/example/normal.toml | gotoml

Install

To install, use go get:

$ go get github.com/ota42y/gotoml/gotoml

Contribution

  1. Fork (https://github.com/ota42y/gotoml/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create a new Pull Request

Author

ota42y

Licence

MIT: https://github.com/ota42y/gotoml/blob/master/LICENSE

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(input io.Reader, structName string, pkgName string) ([]byte, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL