diff options
| author | mo khan <mo@mokhan.ca> | 2022-05-15 14:08:44 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2022-05-15 14:08:44 -0600 |
| commit | d1d6297ea475a8f010cc92844674591b9bfa0288 (patch) | |
| tree | aece18db6be97f4643ae8397f418db23b00690ca | |
| parent | 3d6dd877a8ac212a8ff622060be78fc226476498 (diff) | |
refactor: rename module
| -rw-r--r-- | cmd/migrate/main.go | 2 | ||||
| -rw-r--r-- | cmd/server/main.go | 2 | ||||
| -rw-r--r-- | go.mod | 2 | ||||
| -rw-r--r-- | pkg/tasks/create_client.go | 4 | ||||
| -rw-r--r-- | pkg/web/authorize.go | 2 | ||||
| -rw-r--r-- | pkg/web/json_web_key_sets_test.go | 2 | ||||
| -rw-r--r-- | pkg/web/open_id_configuration_test.go | 2 | ||||
| -rw-r--r-- | pkg/web/register.go | 4 | ||||
| -rw-r--r-- | pkg/web/register_test.go | 2 |
9 files changed, 11 insertions, 11 deletions
diff --git a/cmd/migrate/main.go b/cmd/migrate/main.go index 4a55911..6c77eda 100644 --- a/cmd/migrate/main.go +++ b/cmd/migrate/main.go @@ -6,7 +6,7 @@ import ( "github.com/golang-migrate/migrate/v4" "github.com/golang-migrate/migrate/v4/database/sqlite3" "github.com/golang-migrate/migrate/v4/source/file" - "mokhan.ca/xlgmokha/oauth/pkg/db" + "mokhan.ca/xlgmokha/idp/pkg/db" ) func main() { diff --git a/cmd/server/main.go b/cmd/server/main.go index 0b2d34b..3eaa7a0 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -7,7 +7,7 @@ import ( "os" "runtime" - "mokhan.ca/xlgmokha/oauth/pkg/web" + "mokhan.ca/xlgmokha/idp/pkg/web" ) //go:embed insecure.pem @@ -1,4 +1,4 @@ -module mokhan.ca/xlgmokha/oauth +module mokhan.ca/xlgmokha/idp go 1.18 diff --git a/pkg/tasks/create_client.go b/pkg/tasks/create_client.go index e2d2e5b..18bfdb6 100644 --- a/pkg/tasks/create_client.go +++ b/pkg/tasks/create_client.go @@ -1,8 +1,8 @@ package tasks import ( - "mokhan.ca/xlgmokha/oauth/pkg/db" - "mokhan.ca/xlgmokha/oauth/pkg/dto" + "mokhan.ca/xlgmokha/idp/pkg/db" + "mokhan.ca/xlgmokha/idp/pkg/dto" ) func CreateClient(request dto.ClientRegistrationRequest) (*dto.ClientInformationResponse, error) { diff --git a/pkg/web/authorize.go b/pkg/web/authorize.go index 87de962..747efda 100644 --- a/pkg/web/authorize.go +++ b/pkg/web/authorize.go @@ -5,7 +5,7 @@ import ( "net/http" "github.com/hashicorp/uuid" - "mokhan.ca/xlgmokha/oauth/pkg/dto" + "mokhan.ca/xlgmokha/idp/pkg/dto" ) func (h *HttpContext) Authorize(w http.ResponseWriter, r *http.Request) { diff --git a/pkg/web/json_web_key_sets_test.go b/pkg/web/json_web_key_sets_test.go index 1ecb7ff..b059481 100644 --- a/pkg/web/json_web_key_sets_test.go +++ b/pkg/web/json_web_key_sets_test.go @@ -11,7 +11,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "mokhan.ca/xlgmokha/oauth/pkg/dto" + "mokhan.ca/xlgmokha/idp/pkg/dto" ) func TestJsonWebKeySets(t *testing.T) { diff --git a/pkg/web/open_id_configuration_test.go b/pkg/web/open_id_configuration_test.go index 1249a14..4c86a35 100644 --- a/pkg/web/open_id_configuration_test.go +++ b/pkg/web/open_id_configuration_test.go @@ -11,7 +11,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "mokhan.ca/xlgmokha/oauth/pkg/dto" + "mokhan.ca/xlgmokha/idp/pkg/dto" ) func TestOpenIdConfiguration(t *testing.T) { diff --git a/pkg/web/register.go b/pkg/web/register.go index 8ccf6a9..5629f54 100644 --- a/pkg/web/register.go +++ b/pkg/web/register.go @@ -5,8 +5,8 @@ import ( "fmt" "net/http" - "mokhan.ca/xlgmokha/oauth/pkg/dto" - "mokhan.ca/xlgmokha/oauth/pkg/tasks" + "mokhan.ca/xlgmokha/idp/pkg/dto" + "mokhan.ca/xlgmokha/idp/pkg/tasks" ) func (h *HttpContext) Register(w http.ResponseWriter, r *http.Request) { diff --git a/pkg/web/register_test.go b/pkg/web/register_test.go index 25700c0..ea02748 100644 --- a/pkg/web/register_test.go +++ b/pkg/web/register_test.go @@ -8,7 +8,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "mokhan.ca/xlgmokha/oauth/pkg/dto" + "mokhan.ca/xlgmokha/idp/pkg/dto" ) func TestRegister(t *testing.T) { |
