Skip to content

Commit 819cf20

Browse files
committed
refactor package name with new username
1 parent a9810bc commit 819cf20

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.deepsource.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name = "go"
55
enabled = true
66

77
[analyzers.meta]
8-
import_root = "github.com/anonyindian/telegraph-go/v2"
8+
import_root = "github.com/celestix/telegraph-go/v2"
99

1010
[[transformers]]
1111
name = "gofmt"

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ Anyone can enjoy the simplicity of Telegraph publishing, not just Telegram users
1313
Download the library with the standard `go get` command:
1414

1515
```bash
16-
go get github.com/anonyindian/telegraph-go/v2
16+
go get github.com/celestix/telegraph-go/v2
1717
```
1818

1919
### Example
2020

2121
Examples can be found in the [examples directory](examples).
2222

2323
## Documentation
24-
[![GoDoc](https://godoc.org/github.com/anonyindian/telegraph-go/v2?status.svg)](http://godoc.org/github.com/anonyindian/telegraph-go/v2)
24+
[![GoDoc](https://godoc.org/github.com/celestix/telegraph-go/v2?status.svg)](http://godoc.org/github.com/celestix/telegraph-go/v2)
2525

2626
Full `go doc` style documentation for the package can be viewed online without
2727
installing this package by using the GoDoc site here:
28-
https://pkg.go.dev/github.com/anonyindian/telegraph-go/v2
28+
https://pkg.go.dev/github.com/celestix/telegraph-go/v2

examples/example.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"net/http"
66
"time"
77

8-
"github.com/anonyindian/telegraph-go/v2"
8+
"github.com/celestix/telegraph-go/v2"
99
)
1010

1111
func main() {
@@ -26,7 +26,7 @@ func main() {
2626

2727
// The Telegraph API uses a DOM-based format to represent the content of the page.
2828
// https://telegra.ph/api#Content-format
29-
_, err = a.CreatePage(client, "Sample", `<h3>Sample Page #1</h3> <p>Hello world! This telegraph page is created using telegraph-go package.</p><br><a href="https://github.com/anonyindian/telegraph-go/v2">Click here to open package</a>`, &telegraph.PageOpts{
29+
_, err = a.CreatePage(client, "Sample", `<h3>Sample Page #1</h3> <p>Hello world! This telegraph page is created using telegraph-go package.</p><br><a href="https://github.com/celestix/telegraph-go/v2">Click here to open package</a>`, &telegraph.PageOpts{
3030
AuthorName: "User1",
3131
})
3232
if err != nil {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/anonyindian/telegraph-go/v2
1+
module github.com/celestix/telegraph-go/v2
22

33
go 1.18
44

tests/uploadFile_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"sync"
66
"testing"
77

8-
"github.com/anonyindian/telegraph-go/v2"
8+
"github.com/celestix/telegraph-go/v2"
99
)
1010

1111
func TestUploadPhoto01(t *testing.T) {

0 commit comments

Comments
 (0)