Update imports to reflect new location

pull/8/head
isthisnagee 3 years ago
parent e422a705fb
commit 6521e68ee3

@ -5,7 +5,7 @@ Copyright © 2021 NAME HERE <EMAIL ADDRESS>
package cmd package cmd
import ( import (
"isthisnagee.com/tools/diary/model" "git.nagee.dev/isthisnagee/diary/model"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

@ -7,8 +7,8 @@ package cmd
import ( import (
"time" "time"
"git.nagee.dev/isthisnagee/diary/model"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"isthisnagee.com/tools/diary/model"
) )
// todayCmd represents the today command // todayCmd represents the today command

@ -3,11 +3,11 @@ package cmd
import ( import (
"errors" "errors"
"fmt" "fmt"
"git.nagee.dev/isthisnagee/diary/model"
markdown "github.com/MichaelMure/go-term-markdown" markdown "github.com/MichaelMure/go-term-markdown"
"github.com/fatih/color" "github.com/fatih/color"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/spf13/viper" "github.com/spf13/viper"
"isthisnagee.com/tools/diary/model"
"log" "log"
"os" "os"
"os/exec" "os/exec"

@ -1,4 +1,4 @@
module isthisnagee.com/tools/diary module git.nagee.dev/isthisnagee/diary
go 1.17 go 1.17

@ -4,7 +4,7 @@ Copyright © 2021 NAME HERE <EMAIL ADDRESS>
*/ */
package main package main
import "isthisnagee.com/tools/diary/cmd" import "git.nagee.dev/isthisnagee/diary/cmd"
func main() { func main() {
cmd.Execute() cmd.Execute()

@ -4,7 +4,7 @@ package model
import ( import (
"database/sql" "database/sql"
"isthisnagee.com/tools/diary/db" "git.nagee.dev/isthisnagee/diary/db"
"log" "log"
"strings" "strings"
) )

@ -1,7 +1,7 @@
package model package model
import ( import (
"isthisnagee.com/tools/diary/db" "git.nagee.dev/isthisnagee/diary/db"
"testing" "testing"
) )

Loading…
Cancel
Save