From ba3d65061c1f9a2159991c2959fd99f6f1314f8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kalle=20Ahlstr=C3=B6m?= Date: Fri, 24 Nov 2023 23:54:53 +0200 Subject: [PATCH] try to fix got get import error --- go/cli/cli.go | 4 +++- go/go.mod | 2 +- go/main.go | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/go/cli/cli.go b/go/cli/cli.go index ffcaf2e3..300b4a7a 100644 --- a/go/cli/cli.go +++ b/go/cli/cli.go @@ -3,8 +3,10 @@ package cli import ( "fmt" "log" - vault "nitor_vault/nvault" + "runtime/debug" + + vault "github.com/nitorcreations/vault/go/nvault" ) // CLI helper functions diff --git a/go/go.mod b/go/go.mod index d87aec9b..96d99924 100644 --- a/go/go.mod +++ b/go/go.mod @@ -1,4 +1,4 @@ -module nitor_vault +module github.com/nitorcreations/vault/go go 1.21.3 diff --git a/go/main.go b/go/main.go index 7a3379d8..7b838412 100644 --- a/go/main.go +++ b/go/main.go @@ -3,9 +3,9 @@ package main import ( "fmt" "log" - "nitor_vault/cli" "os" + "github.com/nitorcreations/vault/go/cli" "github.com/spf13/cobra" )