Skip to content

Commit 796c559

Browse files
author
Jake Gealer
committed
update package name and version
1 parent 7009a07 commit 796c559

23 files changed

+60
-24
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# hop-go
22

3-
[View Hop Documentation](https://docs.hop.io/sdks/server/go/api_client) | [View Source Documentation](https://pkg.go.dev/github.com/hopinc/hop-go)
3+
[View Hop Documentation](https://docs.hop.io/sdks/server/go/api_client) | [View Source Documentation](https://pkg.go.dev/go.hop.io/sdk)
44

55
Hop's Go library. Requires Go 1.18+.
66

@@ -11,7 +11,7 @@ import (
1111
"context"
1212
"fmt"
1313

14-
"github.com/hopinc/hop-go"
14+
"go.hop.io/sdk"
1515
)
1616

1717
func main() {

channels.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"golang.org/x/sync/errgroup"
66
"net/url"
77

8-
"github.com/hopinc/hop-go/types"
8+
"go.hop.io/sdk/types"
99
)
1010

1111
// Create is used to create a channel. The channelType argument should be the type of channel that you want to create, state

channels_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package hop
33
import (
44
"testing"
55

6-
"github.com/hopinc/hop-go/types"
6+
"go.hop.io/sdk/types"
77
"github.com/stretchr/testify/assert"
88
)
99

client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"strings"
1515
"sync"
1616

17-
"github.com/hopinc/hop-go/types"
17+
"go.hop.io/sdk/types"
1818
)
1919

2020
var userAgent = "hop-go/" + Version + " (go/" + runtime.Version() + ")"

client_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"strings"
1111
"testing"
1212

13-
"github.com/hopinc/hop-go/types"
13+
"go.hop.io/sdk/types"
1414
"github.com/stretchr/testify/assert"
1515
)
1616

examples/leap-client/http_router.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ package main
22

33
import (
44
_ "embed"
5-
"github.com/hopinc/hop-go/leap"
65
"net/http"
76
"sync/atomic"
7+
8+
"go.hop.io/sdk/leap"
89
)
910

1011
// A very crude http router implementation for the demo. It is just meant to be real simple.

examples/leap-client/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"os"
77
"time"
88

9-
"github.com/hopinc/hop-go/leap"
10-
"github.com/hopinc/hop-go/types"
9+
"go.hop.io/sdk/leap"
10+
"go.hop.io/sdk/types"
1111
)
1212

1313
func subscribeChannel(w http.ResponseWriter, channel string, c *leap.Client) {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/hopinc/hop-go
1+
module go.hop.io/sdk
22

33
go 1.18
44

ignite.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package hop
33
import (
44
"context"
55
"errors"
6-
"github.com/hopinc/hop-go/types"
6+
"go.hop.io/sdk/types"
77
"net/url"
88
)
99

ignite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package hop
33
import (
44
"testing"
55

6-
"github.com/hopinc/hop-go/types"
6+
"go.hop.io/sdk/types"
77
"github.com/stretchr/testify/assert"
88
)
99

0 commit comments

Comments
 (0)