فهرست منبع

Rename import path to github.com/360EntSecGroup-Skylar/excelize

Jinzhu 8 سال پیش
والد
کامیت
21214a514d
6فایلهای تغییر یافته به همراه19 افزوده شده و 19 حذف شده
  1. 3 3
      CONTRIBUTING.md
  2. 6 6
      README.md
  3. 1 1
      cell.go
  4. 1 1
      chart.go
  5. 7 7
      excelize_test.go
  6. 1 1
      picture.go

+ 3 - 3
CONTRIBUTING.md

@@ -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,
 encounter an issue. We always appreciate a well-written, thorough bug report,
 and will thank you for it!
 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.
 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
 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
 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
 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
 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.
 anybody starts working on it.
 
 
 We are always thrilled to receive pull requests. We do our best to process them
 We are always thrilled to receive pull requests. We do our best to process them
@@ -373,4 +373,4 @@ The rules:
 If you are having trouble getting into the mood of idiomatic Go, we recommend
 If you are having trouble getting into the mood of idiomatic Go, we recommend
 reading through [Effective Go](https://golang.org/doc/effective_go.html). The
 reading through [Effective Go](https://golang.org/doc/effective_go.html). The
 [Go Blog](https://blog.golang.org) is also a great resource. Drinking the
 [Go Blog](https://blog.golang.org) is also a great resource. Drinking the
-kool-aid is a lot easier than going thirsty.
+kool-aid is a lot easier than going thirsty.

+ 6 - 6
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)
 [![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)
 [![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)
 [![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)
 [![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)
 [![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
 ### Installation
 
 
 ```go
 ```go
-go get github.com/xuri/excelize
+go get github.com/360EntSecGroup-Skylar/excelize
 ```
 ```
 
 
 ### Create XLSX file
 ### Create XLSX file
@@ -31,7 +31,7 @@ package main
 import (
 import (
     "fmt"
     "fmt"
 
 
-    "github.com/xuri/excelize"
+    "github.com/360EntSecGroup-Skylar/excelize"
 )
 )
 
 
 func main() {
 func main() {
@@ -61,7 +61,7 @@ package main
 import (
 import (
     "fmt"
     "fmt"
 
 
-    "github.com/xuri/excelize"
+    "github.com/360EntSecGroup-Skylar/excelize"
 )
 )
 
 
 func main() {
 func main() {
@@ -97,7 +97,7 @@ package main
 import (
 import (
 	"fmt"
 	"fmt"
 
 
-	"github.com/xuri/excelize"
+	"github.com/360EntSecGroup-Skylar/excelize"
 )
 )
 
 
 func main() {
 func main() {
@@ -130,7 +130,7 @@ import (
     _ "image/jpeg"
     _ "image/jpeg"
     _ "image/png"
     _ "image/png"
 
 
-    "github.com/xuri/excelize"
+    "github.com/360EntSecGroup-Skylar/excelize"
 )
 )
 
 
 func main() {
 func main() {

+ 1 - 1
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
 // for web site or "Location" for moving to one of cell in this workbook. The
 // below is example for external link.
 // 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.
 //    // Set underline and font color style for the cell.
 //    style, _ := xlsx.NewStyle(`{"font":{"color":"#1265BE","underline":"single"}}`)
 //    style, _ := xlsx.NewStyle(`{"font":{"color":"#1265BE","underline":"single"}}`)
 //    xlsx.SetCellStyle("Sheet1", "A3", "A3", style)
 //    xlsx.SetCellStyle("Sheet1", "A3", "A3", style)

+ 1 - 1
chart.go

@@ -105,7 +105,7 @@ func parseFormatChartSet(formatSet string) *formatChart {
 //    import (
 //    import (
 //        "fmt"
 //        "fmt"
 //
 //
-//        "github.com/xuri/excelize"
+//        "github.com/360EntSecGroup-Skylar/excelize"
 //    )
 //    )
 //
 //
 //    func main() {
 //    func main() {

+ 7 - 7
excelize_test.go

@@ -225,9 +225,9 @@ func TestSetCellHyperLink(t *testing.T) {
 		t.Log(err)
 		t.Log(err)
 	}
 	}
 	// Test set cell hyperlink in a work sheet already have hyperlinks.
 	// 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.
 	// 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.
 	// Test add Location hyperlink in a work sheet.
 	xlsx.SetCellHyperLink("Sheet2", "D6", "Sheet1!D8", "Location")
 	xlsx.SetCellHyperLink("Sheet2", "D6", "Sheet1!D8", "Location")
 	xlsx.SetCellHyperLink("Sheet2", "C3", "Sheet1!D8", "")
 	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.SetCellValue("Sheet1", "G11", "set value in merged cell")
 	xlsx.SetCellInt("Sheet1", "H11", 100)
 	xlsx.SetCellInt("Sheet1", "H11", 100)
 	xlsx.SetCellValue("Sheet1", "I11", float64(0.5))
 	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.SetCellFormula("Sheet1", "G12", "SUM(Sheet1!B19,Sheet1!C19)")
 	xlsx.GetCellValue("Sheet1", "H11")
 	xlsx.GetCellValue("Sheet1", "H11")
 	xlsx.GetCellFormula("Sheet1", "G12")
 	xlsx.GetCellFormula("Sheet1", "G12")
@@ -832,7 +832,7 @@ func TestInsertCol(t *testing.T) {
 			xlsx.SetCellStr("Sheet1", axis, axis)
 			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")
 	xlsx.MergeCell("Sheet1", "A1", "C3")
 	err := xlsx.AutoFilter("Sheet1", "A2", "B2", `{"column":"B","expression":"x != blanks"}`)
 	err := xlsx.AutoFilter("Sheet1", "A2", "B2", `{"column":"B","expression":"x != blanks"}`)
 	t.Log(err)
 	t.Log(err)
@@ -851,7 +851,7 @@ func TestRemoveCol(t *testing.T) {
 			xlsx.SetCellStr("Sheet1", axis, axis)
 			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.SetCellHyperLink("Sheet1", "C5", "https://github.com", "External")
 	xlsx.MergeCell("Sheet1", "A1", "B1")
 	xlsx.MergeCell("Sheet1", "A1", "B1")
 	xlsx.MergeCell("Sheet1", "A2", "B2")
 	xlsx.MergeCell("Sheet1", "A2", "B2")
@@ -871,7 +871,7 @@ func TestInsertRow(t *testing.T) {
 			xlsx.SetCellStr("Sheet1", axis, axis)
 			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", -1)
 	xlsx.InsertRow("Sheet1", 4)
 	xlsx.InsertRow("Sheet1", 4)
 	err := xlsx.SaveAs("./test/Workbook_insertrow.xlsx")
 	err := xlsx.SaveAs("./test/Workbook_insertrow.xlsx")
@@ -903,7 +903,7 @@ func TestRemoveRow(t *testing.T) {
 			xlsx.SetCellStr("Sheet1", axis, axis)
 			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", -1)
 	xlsx.RemoveRow("Sheet1", 4)
 	xlsx.RemoveRow("Sheet1", 4)
 	xlsx.MergeCell("Sheet1", "B3", "B5")
 	xlsx.MergeCell("Sheet1", "B3", "B5")

+ 1 - 1
picture.go

@@ -42,7 +42,7 @@ func parseFormatPictureSet(formatSet string) *formatPicture {
 //        _ "image/jpeg"
 //        _ "image/jpeg"
 //        _ "image/png"
 //        _ "image/png"
 //
 //
-//        "github.com/xuri/excelize"
+//        "github.com/360EntSecGroup-Skylar/excelize"
 //    )
 //    )
 //
 //
 //    func main() {
 //    func main() {