Skip to content

Commit

Permalink
chore: update libs
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyrag committed Oct 17, 2024
1 parent e27b872 commit 5c4fef9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ require (
github.com/alitto/pond v1.9.2
github.com/antlr/antlr4/runtime/Go/antlr v1.4.10
github.com/bluele/gcache v0.0.2
github.com/formancehq/go-libs/v2 v2.0.0-20241017113509-22db708b22a5
github.com/formancehq/go-libs/v2 v2.0.1-0.20241017152835-2c30f563ab46
github.com/formancehq/stack/ledger/client v0.0.0-00010101000000-000000000000
github.com/go-chi/chi/v5 v5.1.0
github.com/go-chi/cors v1.2.1
Expand Down
10 changes: 2 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,8 @@ github.com/fatih/color v1.17.0 h1:GlRw1BRJxkpqUCBKzKOw098ed57fEsKeNjpTe3cSjK4=
github.com/fatih/color v1.17.0/go.mod h1:YZ7TlrGPkiz6ku9fK3TLD/pl3CpsiFyu8N92HLgmosI=
github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg=
github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
github.com/formancehq/go-libs/v2 v2.0.0-20241017113509-22db708b22a5 h1:uwsBFFeyh7dI3O3EnoGuyy569WsRXFhNjEaSD4AN+eg=
github.com/formancehq/go-libs/v2 v2.0.0-20241017113509-22db708b22a5/go.mod h1:LgxayMN6wgAQbkB3ioBDTHOVMKp1rC6Q55M1CvG44xY=
github.com/formancehq/go-libs/v2 v2.1.2 h1:AL5A2LgpepFU6+ovvkRXkYUfupPY46BsRHp0M6SFTUY=
github.com/formancehq/go-libs/v2 v2.1.2/go.mod h1:+JVecYnhf7xTbbz65nwxBDehdMx1JgHIitvnxXYuuAI=
github.com/formancehq/go-libs/v2 v2.1.3-0.20241017101710-5a4a6a4cb50d h1:tZZo5yypip02aAkbkp6kGDC8Lvo032DlE/0yVhu8iNY=
github.com/formancehq/go-libs/v2 v2.1.3-0.20241017101710-5a4a6a4cb50d/go.mod h1:LgxayMN6wgAQbkB3ioBDTHOVMKp1rC6Q55M1CvG44xY=
github.com/formancehq/go-libs/v2 v2.1.3-0.20241017104005-ad844342baae h1:29GM6mMhC/7mVsbZJ6qgvQEGAcLSNXwWD3DNKo2Kikk=
github.com/formancehq/go-libs/v2 v2.1.3-0.20241017104005-ad844342baae/go.mod h1:LgxayMN6wgAQbkB3ioBDTHOVMKp1rC6Q55M1CvG44xY=
github.com/formancehq/go-libs/v2 v2.0.1-0.20241017152835-2c30f563ab46 h1:8wZtnWSIYNV7DwD0Jr4HsbcRgezOrgDJ2Q0w9ABieKc=
github.com/formancehq/go-libs/v2 v2.0.1-0.20241017152835-2c30f563ab46/go.mod h1:LgxayMN6wgAQbkB3ioBDTHOVMKp1rC6Q55M1CvG44xY=
github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw=
github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g=
github.com/go-chi/chi v4.1.2+incompatible h1:fGFk2Gmi/YKXk0OmGfBh0WgmN3XB8lVnEyNz34tQRec=
Expand Down
5 changes: 1 addition & 4 deletions internal/storage/bucket/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@ import (
var migrationsDir embed.FS

func GetMigrator(name string) *migrations.Migrator {

migrator := migrations.NewMigrator(migrations.WithSchema(name, true))
migrator.RegisterMigrationsFromFileSystem(migrationsDir, "migrations", func(s string) string {
return s
})
migrator.RegisterMigrationsFromFileSystem(migrationsDir, "migrations")

return migrator
}
Expand Down

0 comments on commit 5c4fef9

Please sign in to comment.