Skip to content

Commit 89577a3

Browse files
Updating module name to match repository address
1 parent dfe676f commit 89577a3

27 files changed

+66
-65
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<p align="center">
99
<a href='http://makeapullrequest.com'><img alt='PRs Welcome' src='https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=shields'/></a>
1010
<a href='https://join.slack.com/t/speakeasy-dev/shared_invite/zt-1df0lalk5-HCAlpcQiqPw8vGukQWhexw'><img alt="Join Slack Community" src="https://img.shields.io/badge/slack%20community-join-blue"/></a>
11-
<a href='https://goreportcard.com/report/github.com/speakeasy-api/speakeasy-example-rest-service-go'><img alt='Go Report Card' src='https://img.shields.io/badge/go%20report-A+-brightgreen.svg?style=flat'/></a>
11+
<a href='https://goreportcard.com/report/github.com/speakeasy-api/rest-template-go'><img alt='Go Report Card' src='https://img.shields.io/badge/go%20report-A+-brightgreen.svg?style=flat'/></a>
1212
</p>
1313

1414

cmd/server/main.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ import (
44
"context"
55

66
"github.com/cenkalti/backoff/v4"
7-
"github.com/speakeasy-api/speakeasy-example-rest-service-go/internal/config"
8-
"github.com/speakeasy-api/speakeasy-example-rest-service-go/internal/core/app"
9-
"github.com/speakeasy-api/speakeasy-example-rest-service-go/internal/core/drivers/psql"
10-
"github.com/speakeasy-api/speakeasy-example-rest-service-go/internal/core/listeners/http"
11-
"github.com/speakeasy-api/speakeasy-example-rest-service-go/internal/core/logging"
12-
"github.com/speakeasy-api/speakeasy-example-rest-service-go/internal/events"
13-
httptransport "github.com/speakeasy-api/speakeasy-example-rest-service-go/internal/transport/http"
14-
"github.com/speakeasy-api/speakeasy-example-rest-service-go/internal/users"
15-
"github.com/speakeasy-api/speakeasy-example-rest-service-go/internal/users/store"
7+
"github.com/speakeasy-api/rest-template-go/internal/config"
8+
"github.com/speakeasy-api/rest-template-go/internal/core/app"
9+
"github.com/speakeasy-api/rest-template-go/internal/core/drivers/psql"
10+
"github.com/speakeasy-api/rest-template-go/internal/core/listeners/http"
11+
"github.com/speakeasy-api/rest-template-go/internal/core/logging"
12+
"github.com/speakeasy-api/rest-template-go/internal/events"
13+
httptransport "github.com/speakeasy-api/rest-template-go/internal/transport/http"
14+
"github.com/speakeasy-api/rest-template-go/internal/users"
15+
"github.com/speakeasy-api/rest-template-go/internal/users/store"
1616
"go.uber.org/zap"
1717
)
1818

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-example-rest-service-go
1+
module github.com/speakeasy-api/rest-template-go
22

33
go 1.18
44

internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package config
22

3-
import "github.com/speakeasy-api/speakeasy-example-rest-service-go/internal/core/config"
3+
import "github.com/speakeasy-api/rest-template-go/internal/core/config"
44

55
// Config represents the configuration of our application.
66
type Config struct {

internal/core/app/app.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"sync"
99
"syscall"
1010

11-
"github.com/speakeasy-api/speakeasy-example-rest-service-go/internal/core/logging"
12-
"github.com/speakeasy-api/speakeasy-example-rest-service-go/internal/core/tracing"
11+
"github.com/speakeasy-api/rest-template-go/internal/core/logging"
12+
"github.com/speakeasy-api/rest-template-go/internal/core/tracing"
1313
"go.uber.org/zap"
1414
)
1515

internal/core/config/config.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package config
33
import (
44
"io/ioutil"
55

6-
"github.com/speakeasy-api/speakeasy-example-rest-service-go/internal/core/drivers/psql"
7-
"github.com/speakeasy-api/speakeasy-example-rest-service-go/internal/core/errors"
8-
"github.com/speakeasy-api/speakeasy-example-rest-service-go/internal/core/listeners/http"
6+
"github.com/speakeasy-api/rest-template-go/internal/core/drivers/psql"
7+
"github.com/speakeasy-api/rest-template-go/internal/core/errors"
8+
"github.com/speakeasy-api/rest-template-go/internal/core/listeners/http"
99
"gopkg.in/yaml.v2"
1010
)
1111

internal/core/drivers/psql/migrations.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"github.com/golang-migrate/migrate/v4"
77
"github.com/golang-migrate/migrate/v4/database/postgres"
88
_ "github.com/golang-migrate/migrate/v4/source/file" // import file driver for migrate
9-
"github.com/speakeasy-api/speakeasy-example-rest-service-go/internal/core/errors"
10-
"github.com/speakeasy-api/speakeasy-example-rest-service-go/internal/core/logging"
9+
"github.com/speakeasy-api/rest-template-go/internal/core/errors"
10+
"github.com/speakeasy-api/rest-template-go/internal/core/logging"
1111
)
1212

1313
const (

internal/core/drivers/psql/psql.go

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

66
"github.com/jmoiron/sqlx"
77
_ "github.com/lib/pq" // imports the postgres driver
8-
"github.com/speakeasy-api/speakeasy-example-rest-service-go/internal/core/errors"
8+
"github.com/speakeasy-api/rest-template-go/internal/core/errors"
99
)
1010

1111
const (

internal/core/listeners/http/http.go

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

99
"github.com/gorilla/mux"
10-
"github.com/speakeasy-api/speakeasy-example-rest-service-go/internal/core/errors"
11-
"github.com/speakeasy-api/speakeasy-example-rest-service-go/internal/core/logging"
10+
"github.com/speakeasy-api/rest-template-go/internal/core/errors"
11+
"github.com/speakeasy-api/rest-template-go/internal/core/logging"
1212
)
1313

1414
const (

0 commit comments

Comments
 (0)