From b89f75c8968e07f41cb7e44a4bbad493cd9e051a Mon Sep 17 00:00:00 2001 From: xuri Date: Wed, 5 Dec 2018 00:27:19 +0800 Subject: Add new logo for excelize --- README.md | 20 +++++++++++--------- README_zh.md | 20 +++++++++++--------- excelize.go | 2 +- excelize.png | Bin 54188 -> 62974 bytes excelize_test.go | 6 +++--- logo.png | Bin 4208 -> 5207 bytes sheet.go | 0 test/images/excel.gif | Bin 4952 -> 7221 bytes test/images/excel.jpg | Bin 3960 -> 5376 bytes test/images/excel.png | Bin 8991 -> 13233 bytes 10 files changed, 26 insertions(+), 22 deletions(-) mode change 100755 => 100644 sheet.go 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") +

Excelize logo

-# Excelize +

+ Build Status + Code Coverage + Go Report Card + GoDoc + Licenses + Donate +

-[![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") +

Excelize

```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") +

Excelize logo

-# Excelize +

+ Build Status + Code Coverage + Go Report Card + GoDoc + Licenses + Donate +

-[![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") +

Excelize

```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 Binary files a/excelize.png and b/excelize.png 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 Binary files a/logo.png and b/logo.png differ diff --git a/sheet.go b/sheet.go old mode 100755 new mode 100644 diff --git a/test/images/excel.gif b/test/images/excel.gif index bf7499a..4baa4b5 100644 Binary files a/test/images/excel.gif and b/test/images/excel.gif differ diff --git a/test/images/excel.jpg b/test/images/excel.jpg index 49edfef..ed1ee1d 100644 Binary files a/test/images/excel.jpg and b/test/images/excel.jpg differ diff --git a/test/images/excel.png b/test/images/excel.png index 52c36db..3e4760b 100644 Binary files a/test/images/excel.png and b/test/images/excel.png differ -- cgit v1.2.1