Skip to content

Commit

Permalink
refactor package name with new username
Browse files Browse the repository at this point in the history
  • Loading branch information
celestix committed Apr 11, 2024
1 parent a9810bc commit 819cf20
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name = "go"
enabled = true

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

[[transformers]]
name = "gofmt"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ Anyone can enjoy the simplicity of Telegraph publishing, not just Telegram users
Download the library with the standard `go get` command:

```bash
go get github.com/anonyindian/telegraph-go/v2
go get github.com/celestix/telegraph-go/v2
```

### Example

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

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

Full `go doc` style documentation for the package can be viewed online without
installing this package by using the GoDoc site here:
https://pkg.go.dev/github.com/anonyindian/telegraph-go/v2
https://pkg.go.dev/github.com/celestix/telegraph-go/v2
4 changes: 2 additions & 2 deletions examples/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"time"

"github.com/anonyindian/telegraph-go/v2"
"github.com/celestix/telegraph-go/v2"
)

func main() {
Expand All @@ -26,7 +26,7 @@ func main() {

// The Telegraph API uses a DOM-based format to represent the content of the page.
// https://telegra.ph/api#Content-format
_, 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{
_, 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{
AuthorName: "User1",
})
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/anonyindian/telegraph-go/v2
module github.com/celestix/telegraph-go/v2

go 1.18

Expand Down
2 changes: 1 addition & 1 deletion tests/uploadFile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"sync"
"testing"

"github.com/anonyindian/telegraph-go/v2"
"github.com/celestix/telegraph-go/v2"
)

func TestUploadPhoto01(t *testing.T) {
Expand Down

0 comments on commit 819cf20

Please sign in to comment.