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