Refresh Token Support and package refactor based on best practice docs #18

Merged
jtom38 merged 15 commits from features/restructure-go-recommendations into main 2024-04-21 10:30:52 -07:00
Showing only changes of commit 029710ad31 - Show all commits

View File

@ -5,8 +5,8 @@ import (
"log" "log"
"net/http" "net/http"
"git.jamestombleson.com/jtom38/go-cook/api/services" v1 "git.jamestombleson.com/jtom38/go-cook/internal/handlers/v1"
v1 "git.jamestombleson.com/jtom38/go-cook/api/handlers/v1" "git.jamestombleson.com/jtom38/go-cook/internal/services"
_ "github.com/glebarez/go-sqlite" _ "github.com/glebarez/go-sqlite"
"github.com/go-playground/validator" "github.com/go-playground/validator"
@ -34,7 +34,7 @@ func main() {
panic(err) panic(err)
} }
err = goose.Up(db, "api/migrations") err = goose.Up(db, "../internal/migrations")
if err != nil { if err != nil {
panic(err) panic(err)
} }