From b8b2d7b4b2f08eca17df37b78bb8792714afa251 Mon Sep 17 00:00:00 2001 From: Devin Humphreys Date: Fri, 24 Feb 2023 12:29:54 -0500 Subject: [PATCH] Fix package references from repo migration --- README.md | 6 +++--- app/cmd/goaws.go | 8 ++++---- app/common/common.go | 2 +- app/common/common_test.go | 2 +- app/conf/config.go | 4 ++-- app/conf/config_test.go | 2 +- app/gosns/gosns.go | 4 ++-- app/gosns/gosns_create_message_test.go | 2 +- app/gosns/gosns_test.go | 4 ++-- app/gosqs/gosqs.go | 4 ++-- app/gosqs/gosqs_test.go | 2 +- app/gosqs/message_attributes.go | 2 +- app/gosqs/queue_attributes.go | 2 +- app/gosqs/queue_attributes_test.go | 2 +- app/router/router.go | 4 ++-- app/servertest/server.go | 4 ++-- app/servertest/server_test.go | 4 ++-- go.mod | 2 +- makefile.txt | 2 +- 19 files changed, 31 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index b50c7d7da..ecc194bb8 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # GoAws [![Build Status](https://travis-ci.org/p4tin/goaws.svg?branch=master)](https://travis-ci.org/p4tin/goaws) -You are always welcome to [tweet me](https://twitter.com/gocodecloud) or [buy me a coffee](https://www.paypal.me/p4tin) +You are always welcome to [tweet the creator in chief](https://twitter.com/gocodecloud) or [buy him a coffee](https://www.paypal.me/p4tin) Written in Go this is a clone of the AWS SQS/SNS systems. This system is designed to emulate SQS and SNS in a local environment so developers can test their interfaces without having to connect to the AWS Cloud and possibly incurring the expense, or even worse actually write to production topics/queues by mistake. If you see any problems or would like to see a new feature, please open an issue here in github. As well, I will logon to Gitter so we can discuss your deployment issues or the weather. @@ -71,7 +71,7 @@ Here is a list of the APIs: # Installation - go get github.com/p4tin/goaws/... + git clone git@github.com:Admiral-Piett/goaws.git ## Build and Run (Standalone) @@ -97,7 +97,7 @@ Here is a list of the APIs: You can test that your installation is working correctly in one of two ways: - 1. Usign the postman collection, use this [link to import it](https://www.getpostman.com/collections/091386eae8c70588348e). As well the Environment variable for the collection should be set as follows: URL = http://localhost:4100/. + 1. Using the postman collection, use this [link to import it](https://www.getpostman.com/collections/091386eae8c70588348e). As well the Environment variable for the collection should be set as follows: URL = http://localhost:4100/. 2. by using the AWS cli tools ([download link](http://docs.aws.amazon.com/cli/latest/userguide/installing.html)) here are some samples, you can refer to the [aws cli tools docs](http://docs.aws.amazon.com/cli/latest/reference/) for further information. diff --git a/app/cmd/goaws.go b/app/cmd/goaws.go index 6512ca4b1..dac328ae0 100644 --- a/app/cmd/goaws.go +++ b/app/cmd/goaws.go @@ -6,13 +6,13 @@ import ( "os" "time" - "github.com/p4tin/goaws/app" + "github.com/Admiral-Piett/goaws/app" log "github.com/sirupsen/logrus" - "github.com/p4tin/goaws/app/conf" - "github.com/p4tin/goaws/app/gosqs" - "github.com/p4tin/goaws/app/router" + "github.com/Admiral-Piett/goaws/app/conf" + "github.com/Admiral-Piett/goaws/app/gosqs" + "github.com/Admiral-Piett/goaws/app/router" ) func main() { diff --git a/app/common/common.go b/app/common/common.go index ab246d411..de4823b15 100644 --- a/app/common/common.go +++ b/app/common/common.go @@ -11,7 +11,7 @@ import ( "io" "sort" - "github.com/p4tin/goaws/app" + "github.com/Admiral-Piett/goaws/app" ) var LogMessages bool diff --git a/app/common/common_test.go b/app/common/common_test.go index 94c3a98a8..9be2f4184 100644 --- a/app/common/common_test.go +++ b/app/common/common_test.go @@ -3,7 +3,7 @@ package common import ( "testing" - "github.com/p4tin/goaws/app" + "github.com/Admiral-Piett/goaws/app" "github.com/stretchr/testify/assert" ) diff --git a/app/conf/config.go b/app/conf/config.go index 19b859839..135da3d06 100644 --- a/app/conf/config.go +++ b/app/conf/config.go @@ -11,9 +11,9 @@ import ( log "github.com/sirupsen/logrus" + "github.com/Admiral-Piett/goaws/app" + "github.com/Admiral-Piett/goaws/app/common" "github.com/ghodss/yaml" - "github.com/p4tin/goaws/app" - "github.com/p4tin/goaws/app/common" ) var envs map[string]app.Environment diff --git a/app/conf/config_test.go b/app/conf/config_test.go index ef69d9676..1b34362cb 100644 --- a/app/conf/config_test.go +++ b/app/conf/config_test.go @@ -3,7 +3,7 @@ package conf import ( "testing" - "github.com/p4tin/goaws/app" + "github.com/Admiral-Piett/goaws/app" ) func TestConfig_NoQueuesOrTopics(t *testing.T) { diff --git a/app/gosns/gosns.go b/app/gosns/gosns.go index cfdcfe2b1..af3a20986 100644 --- a/app/gosns/gosns.go +++ b/app/gosns/gosns.go @@ -22,8 +22,8 @@ import ( "io/ioutil" "math/big" - "github.com/p4tin/goaws/app" - "github.com/p4tin/goaws/app/common" + "github.com/Admiral-Piett/goaws/app" + "github.com/Admiral-Piett/goaws/app/common" log "github.com/sirupsen/logrus" ) diff --git a/app/gosns/gosns_create_message_test.go b/app/gosns/gosns_create_message_test.go index 5db985889..7898e44bb 100644 --- a/app/gosns/gosns_create_message_test.go +++ b/app/gosns/gosns_create_message_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "testing" - "github.com/p4tin/goaws/app" + "github.com/Admiral-Piett/goaws/app" ) const ( diff --git a/app/gosns/gosns_test.go b/app/gosns/gosns_test.go index 9a92526a1..b900ca3d4 100644 --- a/app/gosns/gosns_test.go +++ b/app/gosns/gosns_test.go @@ -10,8 +10,8 @@ import ( "github.com/gorilla/mux" - "github.com/p4tin/goaws/app" - "github.com/p4tin/goaws/app/common" + "github.com/Admiral-Piett/goaws/app" + "github.com/Admiral-Piett/goaws/app/common" ) func TestListTopicshandler_POST_NoTopics(t *testing.T) { diff --git a/app/gosqs/gosqs.go b/app/gosqs/gosqs.go index 07a287e87..240180af3 100644 --- a/app/gosqs/gosqs.go +++ b/app/gosqs/gosqs.go @@ -12,8 +12,8 @@ import ( log "github.com/sirupsen/logrus" "github.com/gorilla/mux" - "github.com/p4tin/goaws/app" - "github.com/p4tin/goaws/app/common" + "github.com/Admiral-Piett/goaws/app" + "github.com/Admiral-Piett/goaws/app/common" ) func init() { diff --git a/app/gosqs/gosqs_test.go b/app/gosqs/gosqs_test.go index 63b6bbac6..1181e81e5 100644 --- a/app/gosqs/gosqs_test.go +++ b/app/gosqs/gosqs_test.go @@ -12,7 +12,7 @@ import ( "testing" "time" - "github.com/p4tin/goaws/app" + "github.com/Admiral-Piett/goaws/app" ) func TestListQueues_POST_NoQueues(t *testing.T) { diff --git a/app/gosqs/message_attributes.go b/app/gosqs/message_attributes.go index ddf858211..fd78a1e40 100644 --- a/app/gosqs/message_attributes.go +++ b/app/gosqs/message_attributes.go @@ -4,7 +4,7 @@ import ( "fmt" "net/http" - "github.com/p4tin/goaws/app" + "github.com/Admiral-Piett/goaws/app" log "github.com/sirupsen/logrus" ) diff --git a/app/gosqs/queue_attributes.go b/app/gosqs/queue_attributes.go index 81786d89d..35745c9f6 100644 --- a/app/gosqs/queue_attributes.go +++ b/app/gosqs/queue_attributes.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/p4tin/goaws/app" + "github.com/Admiral-Piett/goaws/app" ) var ( diff --git a/app/gosqs/queue_attributes_test.go b/app/gosqs/queue_attributes_test.go index 55e87150c..7886d01ac 100644 --- a/app/gosqs/queue_attributes_test.go +++ b/app/gosqs/queue_attributes_test.go @@ -5,7 +5,7 @@ import ( "reflect" "testing" - "github.com/p4tin/goaws/app" + "github.com/Admiral-Piett/goaws/app" ) func TestApplyQueueAttributes(t *testing.T) { diff --git a/app/router/router.go b/app/router/router.go index 82d549679..47766add0 100644 --- a/app/router/router.go +++ b/app/router/router.go @@ -9,8 +9,8 @@ import ( "fmt" "github.com/gorilla/mux" - sns "github.com/p4tin/goaws/app/gosns" - sqs "github.com/p4tin/goaws/app/gosqs" + sns "github.com/Admiral-Piett/goaws/app/gosns" + sqs "github.com/Admiral-Piett/goaws/app/gosqs" ) // New returns a new router diff --git a/app/servertest/server.go b/app/servertest/server.go index ee52e64d2..7088402bb 100644 --- a/app/servertest/server.go +++ b/app/servertest/server.go @@ -6,10 +6,10 @@ import ( "net/http" "sync" - "github.com/p4tin/goaws/app/router" + "github.com/Admiral-Piett/goaws/app/router" log "github.com/sirupsen/logrus" - "github.com/p4tin/goaws/app" + "github.com/Admiral-Piett/goaws/app" "strings" ) diff --git a/app/servertest/server_test.go b/app/servertest/server_test.go index 6a4ede798..fd670751b 100644 --- a/app/servertest/server_test.go +++ b/app/servertest/server_test.go @@ -19,8 +19,8 @@ import ( "github.com/aws/aws-sdk-go/service/sqs" "github.com/aws/aws-sdk-go/service/sqs/sqsiface" "github.com/gorilla/mux" - "github.com/p4tin/goaws/app" - "github.com/p4tin/goaws/app/router" + "github.com/Admiral-Piett/goaws/app" + "github.com/Admiral-Piett/goaws/app/router" log "github.com/sirupsen/logrus" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/go.mod b/go.mod index 2c7f6ea36..ce3ae15c4 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/p4tin/goaws +module github.com/Admiral-Piett/goaws go 1.12 diff --git a/makefile.txt b/makefile.txt index 012185b77..8d33633a4 100644 --- a/makefile.txt +++ b/makefile.txt @@ -16,7 +16,7 @@ run: dep fmt test go run app/cmd/goaws.go git-release: - curl --data $(APIJSON) https://api.github.com/repos/p4tin/goaws/releases?access_token=$(GITHUB_API_KEY) + curl --data $(APIJSON) https://api.github.com/repos/Admiral-Piett/goaws/releases?access_token=$(GITHUB_API_KEY) linux: GOOS=linux GOARCH=amd64 go build -o goaws_linux_amd64 app/cmd/goaws.go