瀏覽代碼

Update readme and Travis CI added.

Ri Xu 9 年之前
父節點
當前提交
2125f5f7a8
共有 2 個文件被更改,包括 30 次插入14 次删除
  1. 17 0
      .travis.yaml
  2. 13 14
      README.md

+ 17 - 0
.travis.yaml

@@ -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)

+ 13 - 14
README.md

@@ -1,21 +1,20 @@
-* Excelize
-
 ![Excelize](./excelize.png "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 go’s 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.
 Here is a minimal example usage that will create XLSX file.
 
 
@@ -24,7 +23,7 @@ package main
 
 
 import (
 import (
     "fmt"
     "fmt"
-    "github.com/luxurioust/excelize"
+    "github.com/Luxurioust/excelize"
 )
 )
 
 
 func main() {
 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.
 The following constitutes the bare minimum required to write an XLSX document.
 
 
@@ -49,7 +48,7 @@ package main
 
 
 import (
 import (
     "fmt"
     "fmt"
-    "github.com/luxurioust/excelize"
+    "github.com/Luxurioust/excelize"
 )
 )
 
 
 func main() {
 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.
 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).