Skip to content

Commit 4be3f7a

Browse files
fix: update mod name
1 parent 6570ba0 commit 4be3f7a

File tree

7 files changed

+16
-13
lines changed

7 files changed

+16
-13
lines changed

cmd/server/main.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import (
44
"log"
55
"net/http"
66

7-
"github.com/speakeasy-api/speakeasy-auth-test-service/internal/pagination"
8-
"github.com/speakeasy-api/speakeasy-auth-test-service/internal/responseHeaders"
9-
"github.com/speakeasy-api/speakeasy-auth-test-service/internal/retries"
7+
"github.com/speakeasy-api/speakeasy-api-test-service/internal/pagination"
8+
"github.com/speakeasy-api/speakeasy-api-test-service/internal/responseHeaders"
9+
"github.com/speakeasy-api/speakeasy-api-test-service/internal/retries"
1010

1111
"github.com/gorilla/mux"
12-
"github.com/speakeasy-api/speakeasy-auth-test-service/internal/auth"
13-
"github.com/speakeasy-api/speakeasy-auth-test-service/internal/requestbody"
12+
"github.com/speakeasy-api/speakeasy-api-test-service/internal/auth"
13+
"github.com/speakeasy-api/speakeasy-api-test-service/internal/requestbody"
1414
)
1515

1616
func main() {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/speakeasy-api/speakeasy-auth-test-service
1+
module github.com/speakeasy-api/speakeasy-api-test-service
22

33
go 1.19
44

internal/auth/auth.go

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

8-
"github.com/speakeasy-api/speakeasy-auth-test-service/pkg/models"
8+
"github.com/speakeasy-api/speakeasy-api-test-service/pkg/models"
99
)
1010

1111
var authError = errors.New("invalid auth")

internal/auth/service.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ package auth
22

33
import (
44
"encoding/json"
5-
"github.com/speakeasy-api/speakeasy-auth-test-service/internal/utils"
65
"io"
76
"net/http"
87

9-
"github.com/speakeasy-api/speakeasy-auth-test-service/pkg/models"
8+
"github.com/speakeasy-api/speakeasy-api-test-service/internal/utils"
9+
10+
"github.com/speakeasy-api/speakeasy-api-test-service/pkg/models"
1011
)
1112

1213
func HandleAuth(w http.ResponseWriter, r *http.Request) {

internal/requestbody/service.go

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

33
import (
44
"encoding/json"
5-
"github.com/speakeasy-api/speakeasy-auth-test-service/internal/utils"
65
"io"
76
"net/http"
7+
8+
"github.com/speakeasy-api/speakeasy-api-test-service/internal/utils"
89
)
910

1011
func HandleRequestBody(w http.ResponseWriter, r *http.Request) {

internal/responseHeaders/service.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ package responseHeaders
22

33
import (
44
"encoding/json"
5-
"github.com/speakeasy-api/speakeasy-auth-test-service/internal/utils"
65
"net/http"
6+
7+
"github.com/speakeasy-api/speakeasy-api-test-service/internal/utils"
78
)
89

910
func HandleVendorJsonResponseHeaders(w http.ResponseWriter, r *http.Request) {
10-
1111
var obj interface{}
1212

1313
err := json.Unmarshal([]byte("{\"name\":\"Panda\"}"), &obj)

internal/utils/utils.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ package utils
33
import (
44
"encoding/json"
55
"errors"
6-
"github.com/speakeasy-api/speakeasy-auth-test-service/pkg/models"
76
"log"
87
"net/http"
8+
9+
"github.com/speakeasy-api/speakeasy-api-test-service/pkg/models"
910
)
1011

1112
var authError = errors.New("invalid auth")

0 commit comments

Comments
 (0)