From 6521e68ee32a2f0925e8d9f5e0dbbec157671f00 Mon Sep 17 00:00:00 2001 From: isthisnagee Date: Wed, 19 Jan 2022 08:21:51 -0800 Subject: [PATCH] Update imports to reflect new location --- cmd/list.go | 2 +- cmd/today.go | 2 +- cmd/util.go | 2 +- go.mod | 2 +- main.go | 2 +- model/entry.go | 2 +- model/entry_test.go | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cmd/list.go b/cmd/list.go index fe480e2..c655179 100644 --- a/cmd/list.go +++ b/cmd/list.go @@ -5,7 +5,7 @@ Copyright © 2021 NAME HERE package cmd import ( - "isthisnagee.com/tools/diary/model" + "git.nagee.dev/isthisnagee/diary/model" "github.com/spf13/cobra" ) diff --git a/cmd/today.go b/cmd/today.go index 4e64865..f84c06b 100644 --- a/cmd/today.go +++ b/cmd/today.go @@ -7,8 +7,8 @@ package cmd import ( "time" + "git.nagee.dev/isthisnagee/diary/model" "github.com/spf13/cobra" - "isthisnagee.com/tools/diary/model" ) // todayCmd represents the today command diff --git a/cmd/util.go b/cmd/util.go index 485b986..83262a2 100644 --- a/cmd/util.go +++ b/cmd/util.go @@ -3,11 +3,11 @@ package cmd import ( "errors" "fmt" + "git.nagee.dev/isthisnagee/diary/model" markdown "github.com/MichaelMure/go-term-markdown" "github.com/fatih/color" "github.com/spf13/cobra" "github.com/spf13/viper" - "isthisnagee.com/tools/diary/model" "log" "os" "os/exec" diff --git a/go.mod b/go.mod index 3c19bd2..3a9d241 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module isthisnagee.com/tools/diary +module git.nagee.dev/isthisnagee/diary go 1.17 diff --git a/main.go b/main.go index 598045b..843b010 100644 --- a/main.go +++ b/main.go @@ -4,7 +4,7 @@ Copyright © 2021 NAME HERE */ package main -import "isthisnagee.com/tools/diary/cmd" +import "git.nagee.dev/isthisnagee/diary/cmd" func main() { cmd.Execute() diff --git a/model/entry.go b/model/entry.go index 82ec45f..1265485 100644 --- a/model/entry.go +++ b/model/entry.go @@ -4,7 +4,7 @@ package model import ( "database/sql" - "isthisnagee.com/tools/diary/db" + "git.nagee.dev/isthisnagee/diary/db" "log" "strings" ) diff --git a/model/entry_test.go b/model/entry_test.go index 116e30d..39f5f6b 100644 --- a/model/entry_test.go +++ b/model/entry_test.go @@ -1,7 +1,7 @@ package model import ( - "isthisnagee.com/tools/diary/db" + "git.nagee.dev/isthisnagee/diary/db" "testing" )