forked from p30928647/excelize
Repo URI changed.
This commit is contained in:
parent
1e20b20a0c
commit
20aae4e0e6
|
@ -32,7 +32,7 @@ A great way to contribute to the project is to send a detailed report when you
|
|||
encounter an issue. We always appreciate a well-written, thorough bug report,
|
||||
and will thank you for it!
|
||||
|
||||
Check that [our issue database](https://github.com/Luxurioust/excelize/issues)
|
||||
Check that [our issue database](https://github.com/xuri/excelize/issues)
|
||||
doesn't already include that problem or suggestion before submitting an issue.
|
||||
If you find a match, you can use the "subscribe" button to get notified on
|
||||
updates. Do *not* leave random "+1" or "I have this too" comments, as they
|
||||
|
@ -56,7 +56,7 @@ This section gives the experienced contributor some tips and guidelines.
|
|||
|
||||
Not sure if that typo is worth a pull request? Found a bug and know how to fix
|
||||
it? Do it! We will appreciate it. Any significant improvement should be
|
||||
documented as [a GitHub issue](https://github.com/Luxurioust/excelize/issues) before
|
||||
documented as [a GitHub issue](https://github.com/xuri/excelize/issues) before
|
||||
anybody starts working on it.
|
||||
|
||||
We are always thrilled to receive pull requests. We do our best to process them
|
||||
|
|
20
README.md
20
README.md
|
@ -2,23 +2,23 @@
|
|||
|
||||
# Excelize
|
||||
|
||||
[![Build Status](https://travis-ci.org/Luxurioust/excelize.svg?branch=master)](https://travis-ci.org/Luxurioust/excelize)
|
||||
[![Code Coverage](https://codecov.io/gh/Luxurioust/excelize/branch/master/graph/badge.svg)](https://codecov.io/gh/Luxurioust/excelize)
|
||||
[![Go Report Card](https://goreportcard.com/badge/github.com/Luxurioust/excelize)](https://goreportcard.com/report/github.com/Luxurioust/excelize)
|
||||
[![GoDoc](https://godoc.org/github.com/Luxurioust/excelize?status.svg)](https://godoc.org/github.com/Luxurioust/excelize)
|
||||
[![Build Status](https://travis-ci.org/xuri/excelize.svg?branch=master)](https://travis-ci.org/xuri/excelize)
|
||||
[![Code Coverage](https://codecov.io/gh/xuri/excelize/branch/master/graph/badge.svg)](https://codecov.io/gh/xuri/excelize)
|
||||
[![Go Report Card](https://goreportcard.com/badge/github.com/xuri/excelize)](https://goreportcard.com/report/github.com/xuri/excelize)
|
||||
[![GoDoc](https://godoc.org/github.com/xuri/excelize?status.svg)](https://godoc.org/github.com/xuri/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)
|
||||
|
||||
## Introduction
|
||||
|
||||
Excelize is a library written in pure Golang and 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 charts of XLSX. This library needs Go version 1.8 or later. The full API docs can be seen using go's built-in documentation tool, or online at [godoc.org](https://godoc.org/github.com/Luxurioust/excelize).
|
||||
Excelize is a library written in pure Golang and 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 charts of XLSX. This library needs Go version 1.8 or later. The full API docs can be seen using go's built-in documentation tool, or online at [godoc.org](https://godoc.org/github.com/xuri/excelize).
|
||||
|
||||
## Basic Usage
|
||||
|
||||
### Installation
|
||||
|
||||
```go
|
||||
go get github.com/Luxurioust/excelize
|
||||
go get github.com/xuri/excelize
|
||||
```
|
||||
|
||||
### Create XLSX file
|
||||
|
@ -32,7 +32,7 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/Luxurioust/excelize"
|
||||
"github.com/xuri/excelize"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -65,7 +65,7 @@ import (
|
|||
"os"
|
||||
"strconv"
|
||||
|
||||
"github.com/Luxurioust/excelize"
|
||||
"github.com/xuri/excelize"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -103,7 +103,7 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/Luxurioust/excelize"
|
||||
"github.com/xuri/excelize"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -138,7 +138,7 @@ import (
|
|||
_ "image/jpeg"
|
||||
_ "image/png"
|
||||
|
||||
"github.com/Luxurioust/excelize"
|
||||
"github.com/xuri/excelize"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
2
chart.go
2
chart.go
|
@ -65,7 +65,7 @@ func parseFormatChartSet(formatSet string) *formatChart {
|
|||
// "fmt"
|
||||
// "os"
|
||||
//
|
||||
// "github.com/Luxurioust/excelize"
|
||||
// "github.com/xuri/excelize"
|
||||
// )
|
||||
//
|
||||
// func main() {
|
||||
|
|
|
@ -209,9 +209,9 @@ func TestSetCellHyperLink(t *testing.T) {
|
|||
t.Log(err)
|
||||
}
|
||||
// Test set cell hyperlink in a work sheet already have hyperlinks.
|
||||
xlsx.SetCellHyperLink("sheet1", "B19", "https://github.com/Luxurioust/excelize")
|
||||
xlsx.SetCellHyperLink("sheet1", "B19", "https://github.com/xuri/excelize")
|
||||
// Test add first hyperlink in a work sheet.
|
||||
xlsx.SetCellHyperLink("sheet2", "C1", "https://github.com/Luxurioust/excelize")
|
||||
xlsx.SetCellHyperLink("sheet2", "C1", "https://github.com/xuri/excelize")
|
||||
err = xlsx.Save()
|
||||
if err != nil {
|
||||
t.Log(err)
|
||||
|
@ -274,7 +274,7 @@ func TestMergeCell(t *testing.T) {
|
|||
xlsx.SetCellValue("Sheet1", "G11", "set value in merged cell")
|
||||
xlsx.SetCellInt("Sheet1", "H11", 100)
|
||||
xlsx.SetCellValue("Sheet1", "I11", float64(0.5))
|
||||
xlsx.SetCellHyperLink("Sheet1", "J11", "https://github.com/Luxurioust/excelize")
|
||||
xlsx.SetCellHyperLink("Sheet1", "J11", "https://github.com/xuri/excelize")
|
||||
xlsx.SetCellFormula("Sheet1", "G12", "SUM(Sheet1!B19,Sheet1!C19)")
|
||||
xlsx.GetCellValue("Sheet1", "H11")
|
||||
xlsx.GetCellFormula("Sheet1", "G12")
|
||||
|
|
|
@ -43,7 +43,7 @@ func parseFormatPictureSet(formatSet string) *formatPicture {
|
|||
// _ "image/jpeg"
|
||||
// _ "image/png"
|
||||
//
|
||||
// "github.com/Luxurioust/excelize"
|
||||
// "github.com/xuri/excelize"
|
||||
// )
|
||||
//
|
||||
// func main() {
|
||||
|
|
Loading…
Reference in New Issue