summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2018-12-05 00:27:19 +0800
committerxuri <xuri.me@gmail.com>2018-12-05 00:27:19 +0800
commitb89f75c8968e07f41cb7e44a4bbad493cd9e051a (patch)
tree8cdc45a5d1c2b6461208ef36bd22618a11cba604
parent724ed5f9f3835c317ca9b8b52c30d3cea8754a5b (diff)
Add new logo for excelize
-rw-r--r--README.md20
-rw-r--r--README_zh.md20
-rw-r--r--excelize.go2
-rw-r--r--excelize.pngbin54188 -> 62974 bytes
-rw-r--r--excelize_test.go6
-rw-r--r--logo.pngbin4208 -> 5207 bytes
-rw-r--r--[-rwxr-xr-x]sheet.go0
-rw-r--r--test/images/excel.gifbin4952 -> 7221 bytes
-rw-r--r--test/images/excel.jpgbin3960 -> 5376 bytes
-rw-r--r--test/images/excel.pngbin8991 -> 13233 bytes
10 files changed, 26 insertions, 22 deletions
diff --git a/README.md b/README.md
index 61ac2d6..e0fbc27 100644
--- a/README.md
+++ b/README.md
@@ -1,13 +1,15 @@
-![Excelize](./excelize.png "Excelize")
+<p align="center"><img width="650" src="./excelize.png" alt="Excelize logo"></p>
-# Excelize
+<p align="center">
+ <a href="https://travis-ci.org/360EntSecGroup-Skylar/excelize"><img src="https://travis-ci.org/360EntSecGroup-Skylar/excelize.svg?branch=master" alt="Build Status"></a>
+ <a href="https://codecov.io/gh/360EntSecGroup-Skylar/excelize"><img src="https://codecov.io/gh/360EntSecGroup-Skylar/excelize/branch/master/graph/badge.svg" alt="Code Coverage"></a>
+ <a href="https://goreportcard.com/report/github.com/360EntSecGroup-Skylar/excelize"><img src="https://goreportcard.com/badge/github.com/360EntSecGroup-Skylar/excelize" alt="Go Report Card"></a>
+ <a href="https://godoc.org/github.com/360EntSecGroup-Skylar/excelize"><img src="https://godoc.org/github.com/360EntSecGroup-Skylar/excelize?status.svg" alt="GoDoc"></a>
+ <a href="https://opensource.org/licenses/BSD-3-Clause"><img src="https://img.shields.io/badge/license-bsd-orange.svg" alt="Licenses"></a>
+ <a href="https://www.paypal.me/xuri"><img src="https://img.shields.io/badge/Donate-PayPal-green.svg" alt="Donate"></a>
+</p>
-[![Build Status](https://travis-ci.org/360EntSecGroup-Skylar/excelize.svg?branch=master)](https://travis-ci.org/360EntSecGroup-Skylar/excelize)
-[![Code Coverage](https://codecov.io/gh/360EntSecGroup-Skylar/excelize/branch/master/graph/badge.svg)](https://codecov.io/gh/360EntSecGroup-Skylar/excelize)
-[![Go Report Card](https://goreportcard.com/badge/github.com/360EntSecGroup-Skylar/excelize)](https://goreportcard.com/report/github.com/360EntSecGroup-Skylar/excelize)
-[![GoDoc](https://godoc.org/github.com/360EntSecGroup-Skylar/excelize?status.svg)](https://godoc.org/github.com/360EntSecGroup-Skylar/excelize)
-[![Licenses](https://img.shields.io/badge/license-bsd-orange.svg)](https://opensource.org/licenses/BSD-3-Clause)
-[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/xuri)
+# Excelize
## Introduction
@@ -88,7 +90,7 @@ func main() {
With Excelize chart generation and management is as easy as a few lines of code. You can build charts based off data in your worksheet or generate charts without any data in your worksheet at all.
-![Excelize](./test/images/chart.png "Excelize")
+<p align="center"><img width="650" src="./test/images/chart.png" alt="Excelize"></p>
```go
package main
diff --git a/README_zh.md b/README_zh.md
index 49680d1..6be0f92 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -1,13 +1,15 @@
-![Excelize](./excelize.png "Excelize")
+<p align="center"><img width="650" src="./excelize.png" alt="Excelize logo"></p>
-# Excelize
+<p align="center">
+ <a href="https://travis-ci.org/360EntSecGroup-Skylar/excelize"><img src="https://travis-ci.org/360EntSecGroup-Skylar/excelize.svg?branch=master" alt="Build Status"></a>
+ <a href="https://codecov.io/gh/360EntSecGroup-Skylar/excelize"><img src="https://codecov.io/gh/360EntSecGroup-Skylar/excelize/branch/master/graph/badge.svg" alt="Code Coverage"></a>
+ <a href="https://goreportcard.com/report/github.com/360EntSecGroup-Skylar/excelize"><img src="https://goreportcard.com/badge/github.com/360EntSecGroup-Skylar/excelize" alt="Go Report Card"></a>
+ <a href="https://godoc.org/github.com/360EntSecGroup-Skylar/excelize"><img src="https://godoc.org/github.com/360EntSecGroup-Skylar/excelize?status.svg" alt="GoDoc"></a>
+ <a href="https://opensource.org/licenses/BSD-3-Clause"><img src="https://img.shields.io/badge/license-bsd-orange.svg" alt="Licenses"></a>
+ <a href="https://www.paypal.me/xuri"><img src="https://img.shields.io/badge/Donate-PayPal-green.svg" alt="Donate"></a>
+</p>
-[![Build Status](https://travis-ci.org/360EntSecGroup-Skylar/excelize.svg?branch=master)](https://travis-ci.org/360EntSecGroup-Skylar/excelize)
-[![Code Coverage](https://codecov.io/gh/360EntSecGroup-Skylar/excelize/branch/master/graph/badge.svg)](https://codecov.io/gh/360EntSecGroup-Skylar/excelize)
-[![Go Report Card](https://goreportcard.com/badge/github.com/360EntSecGroup-Skylar/excelize)](https://goreportcard.com/report/github.com/360EntSecGroup-Skylar/excelize)
-[![GoDoc](https://godoc.org/github.com/360EntSecGroup-Skylar/excelize?status.svg)](https://godoc.org/github.com/360EntSecGroup-Skylar/excelize)
-[![Licenses](https://img.shields.io/badge/license-bsd-orange.svg)](https://opensource.org/licenses/BSD-3-Clause)
-[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/xuri)
+# Excelize
## 简介
@@ -88,7 +90,7 @@ func main() {
使用 Excelize 生成图表十分简单,仅需几行代码。您可以根据工作表中的已有数据构建图表,或向工作表中添加数据并创建图表。
-![Excelize](./test/images/chart.png "Excelize")
+<p align="center"><img width="650" src="./test/images/chart.png" alt="Excelize"></p>
```go
package main
diff --git a/excelize.go b/excelize.go
index 36a6d8a..309a8d8 100644
--- a/excelize.go
+++ b/excelize.go
@@ -1,7 +1,7 @@
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
-//
+
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
diff --git a/excelize.png b/excelize.png
index 9f220b5..5d0766b 100644
--- a/excelize.png
+++ b/excelize.png
Binary files differ
diff --git a/excelize_test.go b/excelize_test.go
index 3860e17..89d2e98 100644
--- a/excelize_test.go
+++ b/excelize_test.go
@@ -21,9 +21,9 @@ func TestOpenFile(t *testing.T) {
t.Error(err)
}
// Test get all the rows in a not exists worksheet.
- rows := xlsx.GetRows("Sheet4")
+ xlsx.GetRows("Sheet4")
// Test get all the rows in a worksheet.
- rows = xlsx.GetRows("Sheet2")
+ rows := xlsx.GetRows("Sheet2")
for _, row := range rows {
for _, cell := range row {
t.Log(cell, "\t")
@@ -518,7 +518,7 @@ func TestSetCellStyleCurrencyNumberFormat(t *testing.T) {
xlsx.SetCellValue("Sheet1", "A1", 42920.5)
xlsx.SetCellValue("Sheet1", "A2", 42920.5)
- style, err = xlsx.NewStyle(`{"number_format": 26, "lang": "zh-tw"}`)
+ _, err = xlsx.NewStyle(`{"number_format": 26, "lang": "zh-tw"}`)
if err != nil {
t.Log(err)
}
diff --git a/logo.png b/logo.png
index 4853698..df9059d 100644
--- a/logo.png
+++ b/logo.png
Binary files differ
diff --git a/sheet.go b/sheet.go
index 3021946..3021946 100755..100644
--- a/sheet.go
+++ b/sheet.go
diff --git a/test/images/excel.gif b/test/images/excel.gif
index bf7499a..4baa4b5 100644
--- a/test/images/excel.gif
+++ b/test/images/excel.gif
Binary files differ
diff --git a/test/images/excel.jpg b/test/images/excel.jpg
index 49edfef..ed1ee1d 100644
--- a/test/images/excel.jpg
+++ b/test/images/excel.jpg
Binary files differ
diff --git a/test/images/excel.png b/test/images/excel.png
index 52c36db..3e4760b 100644
--- a/test/images/excel.png
+++ b/test/images/excel.png
Binary files differ