From 929aad58f8253b759207d2758e5acc2708e03c79 Mon Sep 17 00:00:00 2001 From: Edoardo Rosa <6991986+notdodo@users.noreply.github.com> Date: Wed, 8 Nov 2023 21:48:52 +0100 Subject: [PATCH] fix: build mod --- cmd/dump.go | 2 +- cmd/root.go | 7 ++++--- go.mod | 2 +- main.go | 7 ++++--- pkg/app/okta_neo4j.go | 5 +++-- 5 files changed, 13 insertions(+), 10 deletions(-) diff --git a/cmd/dump.go b/cmd/dump.go index 555e982..973ab26 100644 --- a/cmd/dump.go +++ b/cmd/dump.go @@ -1,7 +1,7 @@ package cmd import ( - "IAMme-IAMme/pkg/app" + "github.com/notdodo/IAMme-IAMme/pkg/app" "github.com/spf13/cobra" ) diff --git a/cmd/root.go b/cmd/root.go index d1e9909..d0440af 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -1,10 +1,11 @@ package cmd import ( - "IAMme-IAMme/pkg/infra/neo4j" - "IAMme-IAMme/pkg/infra/okta" "fmt" + "github.com/notdodo/IAMme-IAMme/pkg/infra/neo4j" + "github.com/notdodo/IAMme-IAMme/pkg/infra/okta" + "github.com/spf13/cobra" ) @@ -15,7 +16,7 @@ type clients_type struct { var clients *clients_type var rootCmd = &cobra.Command{ - Use: "iamme-iamme", + Use: "github.com/notdodo/IAMme-IAMme", Short: "A CLI tool to interact with Okta and Neo4j", } diff --git a/go.mod b/go.mod index e1a85f7..1f5acb5 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module IAMme-IAMme +module github.com/notdodo/IAMme-IAMme go 1.20 diff --git a/main.go b/main.go index 2117178..fded916 100644 --- a/main.go +++ b/main.go @@ -1,11 +1,12 @@ package main import ( - "IAMme-IAMme/cmd" - "IAMme-IAMme/pkg/infra/neo4j" - "IAMme-IAMme/pkg/infra/okta" "log" + "github.com/notdodo/IAMme-IAMme/cmd" + "github.com/notdodo/IAMme-IAMme/pkg/infra/neo4j" + "github.com/notdodo/IAMme-IAMme/pkg/infra/okta" + "github.com/joho/godotenv" ) diff --git a/pkg/app/okta_neo4j.go b/pkg/app/okta_neo4j.go index f9a7d1b..b4def6f 100644 --- a/pkg/app/okta_neo4j.go +++ b/pkg/app/okta_neo4j.go @@ -1,12 +1,13 @@ package app import ( - "IAMme-IAMme/pkg/infra/neo4j" - "IAMme-IAMme/pkg/infra/okta" "context" "log" "strings" + "github.com/notdodo/IAMme-IAMme/pkg/infra/neo4j" + "github.com/notdodo/IAMme-IAMme/pkg/infra/okta" + neo4jSdk "github.com/neo4j/neo4j-go-driver/v5/neo4j" )