mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
16 lines
243 B
Go
16 lines
243 B
Go
package v2
|
|
|
|
import (
|
|
"github.com/formancehq/payments/internal/api"
|
|
"go.uber.org/fx"
|
|
)
|
|
|
|
func NewModule() fx.Option {
|
|
return fx.Options(
|
|
fx.Supply(fx.Annotate(api.Version{
|
|
Version: 2,
|
|
Builder: newRouter,
|
|
}, api.TagVersion())),
|
|
)
|
|
}
|