Refresh Token Support and package refactor based on best practice docs #18
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user