Skip to content

Commit

Permalink
doc(fxsql): Provided documentation (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekkinox committed May 13, 2024
1 parent 0ad1d11 commit 77b202b
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions docs/modules/fxsql.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,13 +267,13 @@ var migrateCmd = &cobra.Command{
fxcore.
NewBootstrapper().
WithContext(cmd.Context()).
WithOptions(
fx.NopLogger,
// modules
fxsql.FxSQLModule,
// migrate and shutdown
fxsql.RunFxSQLMigrationAndShutdown(args[0], args[1:]...),
).
WithOptions(
fx.NopLogger,
// modules
fxsql.FxSQLModule,
// migrate and shutdown
fxsql.RunFxSQLMigrationAndShutdown(args[0], args[1:]...),
).
RunApp()
},
}
Expand Down Expand Up @@ -571,6 +571,7 @@ import (
"github.com/ankorstore/yokai/fxsql"
"github.com/foo/bar/internal"
"github.com/foo/bar/internal/repository"
"go.uber.org/fx"
)
Expand Down

0 comments on commit 77b202b

Please sign in to comment.