From 029710ad31db0ef01f9b8d618c0879e3c7ecbcb8 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Sun, 21 Apr 2024 08:58:06 -0700 Subject: [PATCH] updated pathing in main and updated how to find migrations --- cmd/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/main.go b/cmd/main.go index 63fb65d..2c024a4 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -5,8 +5,8 @@ import ( "log" "net/http" - "git.jamestombleson.com/jtom38/go-cook/api/services" - v1 "git.jamestombleson.com/jtom38/go-cook/api/handlers/v1" + v1 "git.jamestombleson.com/jtom38/go-cook/internal/handlers/v1" + "git.jamestombleson.com/jtom38/go-cook/internal/services" _ "github.com/glebarez/go-sqlite" "github.com/go-playground/validator" @@ -34,7 +34,7 @@ func main() { panic(err) } - err = goose.Up(db, "api/migrations") + err = goose.Up(db, "../internal/migrations") if err != nil { panic(err) }