Rename import path to github.com/360EntSecGroup-Skylar/excelize
This commit is contained in:
parent
96b3e1ea74
commit
21214a514d
|
@ -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/xuri/excelize/issues)
|
||||
Check that [our issue database](https://github.com/360EntSecGroup-Skylar/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/xuri/excelize/issues) before
|
||||
documented as [a GitHub issue](https://github.com/360EntSecGroup-Skylar/excelize/issues) before
|
||||
anybody starts working on it.
|
||||
|
||||
We are always thrilled to receive pull requests. We do our best to process them
|
||||
|
|
12
README.md
12
README.md
|
@ -4,7 +4,7 @@
|
|||
|
||||
[![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/xuri/excelize)](https://goreportcard.com/report/github.com/xuri/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)
|
||||
|
@ -18,7 +18,7 @@ Excelize is a library written in pure Golang and providing a set of functions th
|
|||
### Installation
|
||||
|
||||
```go
|
||||
go get github.com/xuri/excelize
|
||||
go get github.com/360EntSecGroup-Skylar/excelize
|
||||
```
|
||||
|
||||
### Create XLSX file
|
||||
|
@ -31,7 +31,7 @@ package main
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/xuri/excelize"
|
||||
"github.com/360EntSecGroup-Skylar/excelize"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -61,7 +61,7 @@ package main
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/xuri/excelize"
|
||||
"github.com/360EntSecGroup-Skylar/excelize"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -97,7 +97,7 @@ package main
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/xuri/excelize"
|
||||
"github.com/360EntSecGroup-Skylar/excelize"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -130,7 +130,7 @@ import (
|
|||
_ "image/jpeg"
|
||||
_ "image/png"
|
||||
|
||||
"github.com/xuri/excelize"
|
||||
"github.com/360EntSecGroup-Skylar/excelize"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
2
cell.go
2
cell.go
|
@ -224,7 +224,7 @@ func (f *File) SetCellFormula(sheet, axis, formula string) {
|
|||
// for web site or "Location" for moving to one of cell in this workbook. The
|
||||
// below is example for external link.
|
||||
//
|
||||
// xlsx.SetCellHyperLink("Sheet1", "A3", "https://github.com/xuri/excelize", "External")
|
||||
// xlsx.SetCellHyperLink("Sheet1", "A3", "https://github.com/360EntSecGroup-Skylar/excelize", "External")
|
||||
// // Set underline and font color style for the cell.
|
||||
// style, _ := xlsx.NewStyle(`{"font":{"color":"#1265BE","underline":"single"}}`)
|
||||
// xlsx.SetCellStyle("Sheet1", "A3", "A3", style)
|
||||
|
|
2
chart.go
2
chart.go
|
@ -105,7 +105,7 @@ func parseFormatChartSet(formatSet string) *formatChart {
|
|||
// import (
|
||||
// "fmt"
|
||||
//
|
||||
// "github.com/xuri/excelize"
|
||||
// "github.com/360EntSecGroup-Skylar/excelize"
|
||||
// )
|
||||
//
|
||||
// func main() {
|
||||
|
|
|
@ -225,9 +225,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/xuri/excelize", "External")
|
||||
xlsx.SetCellHyperLink("Sheet1", "B19", "https://github.com/360EntSecGroup-Skylar/excelize", "External")
|
||||
// Test add first hyperlink in a work sheet.
|
||||
xlsx.SetCellHyperLink("Sheet2", "C1", "https://github.com/xuri/excelize", "External")
|
||||
xlsx.SetCellHyperLink("Sheet2", "C1", "https://github.com/360EntSecGroup-Skylar/excelize", "External")
|
||||
// Test add Location hyperlink in a work sheet.
|
||||
xlsx.SetCellHyperLink("Sheet2", "D6", "Sheet1!D8", "Location")
|
||||
xlsx.SetCellHyperLink("Sheet2", "C3", "Sheet1!D8", "")
|
||||
|
@ -311,7 +311,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/xuri/excelize", "External")
|
||||
xlsx.SetCellHyperLink("Sheet1", "J11", "https://github.com/360EntSecGroup-Skylar/excelize", "External")
|
||||
xlsx.SetCellFormula("Sheet1", "G12", "SUM(Sheet1!B19,Sheet1!C19)")
|
||||
xlsx.GetCellValue("Sheet1", "H11")
|
||||
xlsx.GetCellFormula("Sheet1", "G12")
|
||||
|
@ -832,7 +832,7 @@ func TestInsertCol(t *testing.T) {
|
|||
xlsx.SetCellStr("Sheet1", axis, axis)
|
||||
}
|
||||
}
|
||||
xlsx.SetCellHyperLink("Sheet1", "A5", "https://github.com/xuri/excelize", "External")
|
||||
xlsx.SetCellHyperLink("Sheet1", "A5", "https://github.com/360EntSecGroup-Skylar/excelize", "External")
|
||||
xlsx.MergeCell("Sheet1", "A1", "C3")
|
||||
err := xlsx.AutoFilter("Sheet1", "A2", "B2", `{"column":"B","expression":"x != blanks"}`)
|
||||
t.Log(err)
|
||||
|
@ -851,7 +851,7 @@ func TestRemoveCol(t *testing.T) {
|
|||
xlsx.SetCellStr("Sheet1", axis, axis)
|
||||
}
|
||||
}
|
||||
xlsx.SetCellHyperLink("Sheet1", "A5", "https://github.com/xuri/excelize", "External")
|
||||
xlsx.SetCellHyperLink("Sheet1", "A5", "https://github.com/360EntSecGroup-Skylar/excelize", "External")
|
||||
xlsx.SetCellHyperLink("Sheet1", "C5", "https://github.com", "External")
|
||||
xlsx.MergeCell("Sheet1", "A1", "B1")
|
||||
xlsx.MergeCell("Sheet1", "A2", "B2")
|
||||
|
@ -871,7 +871,7 @@ func TestInsertRow(t *testing.T) {
|
|||
xlsx.SetCellStr("Sheet1", axis, axis)
|
||||
}
|
||||
}
|
||||
xlsx.SetCellHyperLink("Sheet1", "A5", "https://github.com/xuri/excelize", "External")
|
||||
xlsx.SetCellHyperLink("Sheet1", "A5", "https://github.com/360EntSecGroup-Skylar/excelize", "External")
|
||||
xlsx.InsertRow("Sheet1", -1)
|
||||
xlsx.InsertRow("Sheet1", 4)
|
||||
err := xlsx.SaveAs("./test/Workbook_insertrow.xlsx")
|
||||
|
@ -903,7 +903,7 @@ func TestRemoveRow(t *testing.T) {
|
|||
xlsx.SetCellStr("Sheet1", axis, axis)
|
||||
}
|
||||
}
|
||||
xlsx.SetCellHyperLink("Sheet1", "A5", "https://github.com/xuri/excelize", "External")
|
||||
xlsx.SetCellHyperLink("Sheet1", "A5", "https://github.com/360EntSecGroup-Skylar/excelize", "External")
|
||||
xlsx.RemoveRow("Sheet1", -1)
|
||||
xlsx.RemoveRow("Sheet1", 4)
|
||||
xlsx.MergeCell("Sheet1", "B3", "B5")
|
||||
|
|
|
@ -42,7 +42,7 @@ func parseFormatPictureSet(formatSet string) *formatPicture {
|
|||
// _ "image/jpeg"
|
||||
// _ "image/png"
|
||||
//
|
||||
// "github.com/xuri/excelize"
|
||||
// "github.com/360EntSecGroup-Skylar/excelize"
|
||||
// )
|
||||
//
|
||||
// func main() {
|
||||
|
|
Loading…
Reference in New Issue