Skip to content

Commit

Permalink
task: replacing the core version used
Browse files Browse the repository at this point in the history
  • Loading branch information
paganotoni committed Feb 23, 2025
1 parent fa52f3e commit 0e7ebbf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions db/internal/database/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"fmt"
"os"

"github.com/leapkit/leapkit/core/db"
flag "github.com/spf13/pflag"
"go.leapkit.dev/core/db"

// Loading .env file
_ "github.com/leapkit/leapkit/core/tools/envload"
_ "go.leapkit.dev/core/tools/envload"

// Postgres driver
_ "github.com/lib/pq"
Expand Down
3 changes: 1 addition & 2 deletions db/internal/database/migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strings"
"time"

"github.com/leapkit/leapkit/core/db"
"go.leapkit.dev/core/db"
)

var (
Expand Down Expand Up @@ -57,7 +57,6 @@ func newMigration(name string) error {
"Name": name,
"Timestamp": timestamp,
})

if err != nil {
return fmt.Errorf("error executing migrations template: %w", err)
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ go 1.22

require (
github.com/fsnotify/fsnotify v1.8.0
github.com/leapkit/leapkit/core v0.0.43
github.com/lib/pq v1.10.9
github.com/mattn/go-sqlite3 v1.14.24
github.com/spf13/pflag v1.0.6
go.leapkit.dev/core v0.0.0-20250222172936-66e50dc697df
)

require golang.org/x/sys v0.21.0 // indirect
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
github.com/fsnotify/fsnotify v1.8.0 h1:dAwr6QBTBZIkG8roQaJjGof0pp0EeF+tNV7YBP3F/8M=
github.com/fsnotify/fsnotify v1.8.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0=
github.com/leapkit/leapkit/core v0.0.43 h1:M2vrZxGF4vWZrwzxjxTO6iANuxej6tawbeOP7yQlijw=
github.com/leapkit/leapkit/core v0.0.43/go.mod h1:NRD6W/0lAbCB7ewQJURh+8f34bVqgtDnLM4xQHlrWlQ=
github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw=
github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/mattn/go-sqlite3 v1.14.24 h1:tpSp2G2KyMnnQu99ngJ47EIkWVmliIizyZBfPrBWDRM=
github.com/mattn/go-sqlite3 v1.14.24/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y=
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
go.leapkit.dev/core v0.0.0-20250222172936-66e50dc697df h1:LvWD6RPb0v/CyIaa6YQVXxU+pehiDho4ye/yjYvNTcU=
go.leapkit.dev/core v0.0.0-20250222172936-66e50dc697df/go.mod h1:Q//TSW//Gl2w57/OFe9HkUM1NiEt4VGUqi4gJX17KWo=
golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws=
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=

0 comments on commit 0e7ebbf

Please sign in to comment.