Update readme and Travis CI added.

This commit is contained in:
Ri Xu 2016-08-30 12:27:35 +08:00
parent a9d3ee2869
commit 2125f5f7a8
2 changed files with 30 additions and 14 deletions

17
.travis.yaml Normal file
View File

@ -0,0 +1,17 @@
language: go
install:
- go get -d -t -v ./... && go build -v ./...
go:
- 1.5
- 1.6
- 1.7
- tip
script:
- go vet ./...
- go test -v -coverprofile=coverage.txt -covermode=atomic
after_success:
- bash <(curl -s https://codecov.io/bash)

View File

@ -1,21 +1,20 @@
* Excelize
![Excelize](./excelize.png "Excelize")
** Introduction
Excelize is a library written in pure Golang and providing a set of function that allow you to write to and read from XLSX files.
# Excelize
## Introduction
Excelize is a library written in pure Golang and providing a set of function that allow you to write to and read from XLSX files. The full API docs can be viewed using gos built in documentation tool, or online at [godoc.org](https://godoc.org/github.com/Luxurioust/excelize).
** Basic Usage
## Basic Usage
*** Installation
### Installation
```
go get github.com/luxurioust/excelize
go get github.com/Luxurioust/excelize
```
*** Create XLSX files
### Create XLSX files
Here is a minimal example usage that will create XLSX file.
@ -24,7 +23,7 @@ package main
import (
"fmt"
"github.com/luxurioust/excelize"
"github.com/Luxurioust/excelize"
)
func main() {
@ -40,7 +39,7 @@ func main() {
}
```
*** Writing XLSX files
### Writing XLSX files
The following constitutes the bare minimum required to write an XLSX document.
@ -49,7 +48,7 @@ package main
import (
"fmt"
"github.com/luxurioust/excelize"
"github.com/Luxurioust/excelize"
)
func main() {
@ -70,10 +69,10 @@ func main() {
}
```
** Contributing
## Contributing
Contributions are welcome! Open a pull request to fix a bug, or open an issue to discuss a new feature or change.
** Licenses
## Licenses
This program is under the terms of the BSD 3-Clause License. See <https://opensource.org/licenses/BSD-3-Clause>.
This program is under the terms of the BSD 3-Clause License. See [https://opensource.org/licenses/BSD-3-Clause](https://opensource.org/licenses/BSD-3-Clause).