From 2b5758cc5ce03ba3385d676a1201cac51cdba77c Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Mon, 5 Jul 2021 19:22:24 -0400 Subject: [PATCH] change module name --- cmd/apollo-api/accounts.go | 2 +- cmd/apollo-api/devices.go | 2 +- cmd/apollo-api/main.go | 4 ++-- cmd/apollo-worker/main.go | 4 ++-- go.mod | 3 ++- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/cmd/apollo-api/accounts.go b/cmd/apollo-api/accounts.go index f6a220b..29fa20c 100644 --- a/cmd/apollo-api/accounts.go +++ b/cmd/apollo-api/accounts.go @@ -8,7 +8,7 @@ import ( "github.com/julienschmidt/httprouter" - "github.com/andremedeiros/apollo/internal/data" + "github.com/christianselig/apollo-backend/internal/data" ) func (app *application) upsertAccountHandler(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { diff --git a/cmd/apollo-api/devices.go b/cmd/apollo-api/devices.go index bb36105..b590d01 100644 --- a/cmd/apollo-api/devices.go +++ b/cmd/apollo-api/devices.go @@ -6,7 +6,7 @@ import ( "github.com/julienschmidt/httprouter" - "github.com/andremedeiros/apollo/internal/data" + "github.com/christianselig/apollo-backend/internal/data" ) func (app *application) upsertDeviceHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { diff --git a/cmd/apollo-api/main.go b/cmd/apollo-api/main.go index e80c747..4d73fde 100644 --- a/cmd/apollo-api/main.go +++ b/cmd/apollo-api/main.go @@ -11,8 +11,8 @@ import ( "github.com/joho/godotenv" _ "github.com/lib/pq" - "github.com/andremedeiros/apollo/internal/data" - "github.com/andremedeiros/apollo/internal/reddit" + "github.com/christianselig/apollo-backend/internal/data" + "github.com/christianselig/apollo-backend/internal/reddit" ) type config struct { diff --git a/cmd/apollo-worker/main.go b/cmd/apollo-worker/main.go index 0408079..920337c 100644 --- a/cmd/apollo-worker/main.go +++ b/cmd/apollo-worker/main.go @@ -15,8 +15,8 @@ import ( "github.com/sideshow/apns2/payload" "github.com/sideshow/apns2/token" - "github.com/andremedeiros/apollo/internal/data" - "github.com/andremedeiros/apollo/internal/reddit" + "github.com/christianselig/apollo-backend/internal/data" + "github.com/christianselig/apollo-backend/internal/reddit" ) type application struct { diff --git a/go.mod b/go.mod index fd34dab..53d3863 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,5 @@ -module github.com/andremedeiros/apollo +// +heroku goVersion go1.16 +module github.com/christianselig/apollo-backend go 1.16