Created
February 9, 2023 21:25
-
-
Save brurucy/1ed166a0b33c4534306f1ff6e9db8354 to your computer and use it in GitHub Desktop.
memoir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package internal | |
import ( | |
"github.com/go-git/go-billy/v5/memfs" | |
"github.com/pipedrive/pdfx/diplomat" | |
"github.com/pipedrive/pdfx/echo" | |
"github.com/pipedrive/pdfx/logger" | |
"github.com/pipedrive/pdfx/prometheus" | |
"github.com/pipedrive/pdfx/runmode" | |
"github.com/pipedrive/schemer/internal/repository" | |
"github.com/pipedrive/schemer/internal/routes" | |
"go.uber.org/fx" | |
) | |
func Module() fx.Option { | |
return fx.Options( | |
fx.Provide(memfs.New), | |
logger.Module(), | |
runmode.Module(), | |
echo.Module(echo.WithPort(3770)), | |
prometheus.Module(), | |
routes.Module(), | |
repository.Module(), | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment