diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8ee0658 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +.* +!.gitignore +!.travis.yml +!.goxc.json +dist/ diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..3629ac4 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +language: go +go: +- tip +script: +- make lint +- make test +after_script: +- make cover diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ba9c5f4 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +test: deps + go test + +deps: + go get -d -v -t ./... + go get github.com/golang/lint/golint + go get github.com/mattn/goveralls + +lint: deps + go vet + golint -set_exit_status + +cover: deps + goveralls + +.PHONY: test deps lint cover diff --git a/README.md b/README.md new file mode 100644 index 0000000..98acb6b --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +go-ltsv +======= + +[![Build Status](https://travis-ci.org/Songmu/go-ltsv.png?branch=master)][travis] +[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)][license] +[![GoDoc](https://godoc.org/github.com/Songmu/go-ltsv?status.svg)][godoc] + +[travis]: https://travis-ci.org/Songmu/go-ltsv +[coveralls]: https://coveralls.io/r/Songmu/go-ltsv?branch=master +[license]: https://github.com/Songmu/go-ltsv/blob/master/LICENSE +[godoc]: https://godoc.org/github.com/Songmu/go-ltsv + +## Description + +LTSV parser and encoder for Go with reflection + +## Installation + + % go get github.com/Songmu/go-ltsv + +## Author + +[Songmu](https://github.com/Songmu)