diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..1079dcc --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,33 @@ +# .github/workflows/release.yml +name: goreleaser + +on: + push: + branches: + - main + +permissions: + contents: write + packages: write + issues: write + +jobs: + goreleaser: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: stable + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v5 + with: + distribution: goreleaser + version: latest + args: release --clean + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore index 990219f..e90c075 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,5 @@ go.work # End of https://www.toptal.com/developers/gitignore/api/go .envrc + +dist/ diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000..0955b6c --- /dev/null +++ b/.goreleaser.yaml @@ -0,0 +1,36 @@ +version: 1 + +before: + hooks: + - go mod tidy + - go generate ./... + +builds: + - env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin + +archives: + - format: tar.gz + # this name template makes the OS and Arch compatible with the results of `uname`. + name_template: >- + {{ .ProjectName }}_ + {{- title .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} + {{- if .Arm }}v{{ .Arm }}{{ end }} + # use zip for windows archives + format_overrides: + - goos: windows + format: zip + +changelog: + sort: asc + filters: + exclude: + - "^docs:" + - "^test:" diff --git a/logs/server.log b/logs/server.log deleted file mode 100644 index 01e0e30..0000000 --- a/logs/server.log +++ /dev/null @@ -1,441 +0,0 @@ -{"level":"info","ts":1708487333.145149,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"*db.Config"} -{"level":"info","ts":1708487333.146282,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"*logger.Config"} -{"level":"info","ts":1708487333.146407,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.New()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"*zap.SugaredLogger"} -{"level":"info","ts":1708487333.1464598,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.NewGormLogger()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"*logger.GormLogger"} -{"level":"info","ts":1708487333.146519,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.New.func1()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"fx.Lifecycle"} -{"level":"info","ts":1708487333.1466072,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).shutdowner-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"fx.Shutdowner"} -{"level":"info","ts":1708487333.146666,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).dotGraph-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"fx.DotGraph"} -{"level":"info","ts":1708487333.146749,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","kind":"provide"} -{"level":"info","ts":1708487333.1467788,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/logger.New()","kind":"provide"} -{"level":"info","ts":1708487333.146801,"caller":"fxevent/zap.go:51","msg":"initialized custom fxevent.Logger","function":"github.com/STommydx/FolioForge/logger.glob..func1()"} -{"level":"info","ts":1708487333.147091,"caller":"fxevent/zap.go:51","msg":"started"} -{"level":"info","ts":1708487371.406822,"caller":"fxevent/zap.go:51","msg":"received signal","signal":"INTERRUPT"} -{"level":"info","ts":1708487592.4023051,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"*db.Config"} -{"level":"info","ts":1708487592.403224,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"*logger.Config"} -{"level":"info","ts":1708487592.40331,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.New()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"*zap.SugaredLogger"} -{"level":"info","ts":1708487592.4033349,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.NewGormLogger()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"*logger.GormLogger"} -{"level":"info","ts":1708487592.403353,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.New.func1()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"fx.Lifecycle"} -{"level":"info","ts":1708487592.403394,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).shutdowner-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"fx.Shutdowner"} -{"level":"info","ts":1708487592.4034371,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).dotGraph-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"fx.DotGraph"} -{"level":"info","ts":1708487592.403469,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","kind":"provide"} -{"level":"info","ts":1708487592.403486,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/logger.New()","kind":"provide"} -{"level":"info","ts":1708487592.4035,"caller":"fxevent/zap.go:51","msg":"initialized custom fxevent.Logger","function":"github.com/STommydx/FolioForge/logger.glob..func1()"} -{"level":"info","ts":1708487592.403658,"caller":"fxevent/zap.go:51","msg":"started"} -{"level":"info","ts":1708487593.771429,"caller":"fxevent/zap.go:51","msg":"received signal","signal":"INTERRUPT"} -{"level":"info","ts":1708487852.291316,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"*db.Config"} -{"level":"info","ts":1708487852.29223,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"*logger.Config"} -{"level":"info","ts":1708487852.2924612,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.New()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"*zap.SugaredLogger"} -{"level":"info","ts":1708487852.2925272,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.NewGormLogger()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"*logger.GormLogger"} -{"level":"info","ts":1708487852.292567,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.New.func1()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"fx.Lifecycle"} -{"level":"info","ts":1708487852.292641,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).shutdowner-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"fx.Shutdowner"} -{"level":"info","ts":1708487852.2927098,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).dotGraph-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:10)"],"type":"fx.DotGraph"} -{"level":"info","ts":1708487852.292769,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","kind":"provide"} -{"level":"info","ts":1708487852.292792,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/logger.New()","kind":"provide"} -{"level":"info","ts":1708487852.2928152,"caller":"fxevent/zap.go:51","msg":"initialized custom fxevent.Logger","function":"github.com/STommydx/FolioForge/logger.glob..func1()"} -{"level":"info","ts":1708487852.29307,"caller":"fxevent/zap.go:51","msg":"started"} -{"level":"info","ts":1708487875.479477,"caller":"fxevent/zap.go:51","msg":"received signal","signal":"INTERRUPT"} -{"level":"info","ts":1708487878.3809972,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)"],"type":"*db.Config"} -{"level":"info","ts":1708487878.381481,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)"],"type":"*logger.Config"} -{"level":"info","ts":1708487878.3815901,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.New()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)"],"type":"*zap.SugaredLogger"} -{"level":"info","ts":1708487878.381631,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.NewGormLogger()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)"],"type":"*logger.GormLogger"} -{"level":"info","ts":1708487878.381665,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.newHttp()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)"],"type":"*http.Server"} -{"level":"info","ts":1708487878.381695,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.NewRouter()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)"],"type":"*gin.Engine"} -{"level":"info","ts":1708487878.3817248,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.New.func1()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)"],"type":"fx.Lifecycle"} -{"level":"info","ts":1708487878.3817751,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).shutdowner-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)"],"type":"fx.Shutdowner"} -{"level":"info","ts":1708487878.381829,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).dotGraph-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)"],"type":"fx.DotGraph"} -{"level":"info","ts":1708487878.381899,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","kind":"provide"} -{"level":"info","ts":1708487878.3819368,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/logger.New()","kind":"provide"} -{"level":"info","ts":1708487878.3819578,"caller":"fxevent/zap.go:51","msg":"initialized custom fxevent.Logger","function":"github.com/STommydx/FolioForge/logger.glob..func1()"} -{"level":"info","ts":1708487878.381988,"caller":"fxevent/zap.go:51","msg":"invoking","function":"github.com/STommydx/FolioForge/http.runHttpServer()"} -{"level":"info","ts":1708487878.382024,"caller":"fxevent/zap.go:51","msg":"run","name":"go.uber.org/fx.New.func1()","kind":"provide"} -{"level":"error","ts":1708487878.382117,"caller":"fxevent/zap.go:59","msg":"invoke failed","error":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer (/Users/stommydx/git/FolioForge/http/http.go:22): failed to build *http.Server: missing dependencies for function \"github.com/STommydx/FolioForge/http\".newHttp (/Users/stommydx/git/FolioForge/http/http.go:15): missing type: *http.Config","errorVerbose":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer\n\t/Users/stommydx/git/FolioForge/http/http.go:22:\nfailed to build *http.Server:\nmissing dependencies for function \"github.com/STommydx/FolioForge/http\".newHttp\n\t/Users/stommydx/git/FolioForge/http/http.go:15:\nmissing type:\n\t- *http.Config (did you mean to Provide it?)","stack":"github.com/STommydx/FolioForge/http.init\n\t/Users/stommydx/git/FolioForge/http/module.go:7\nruntime.doInit1\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740\nruntime.doInit\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707\nruntime.main\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249\n","function":"github.com/STommydx/FolioForge/http.runHttpServer()"} -{"level":"error","ts":1708487878.3824608,"caller":"fxevent/zap.go:59","msg":"start failed","error":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer (/Users/stommydx/git/FolioForge/http/http.go:22): failed to build *http.Server: missing dependencies for function \"github.com/STommydx/FolioForge/http\".newHttp (/Users/stommydx/git/FolioForge/http/http.go:15): missing type: *http.Config","errorVerbose":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer\n\t/Users/stommydx/git/FolioForge/http/http.go:22:\nfailed to build *http.Server:\nmissing dependencies for function \"github.com/STommydx/FolioForge/http\".newHttp\n\t/Users/stommydx/git/FolioForge/http/http.go:15:\nmissing type:\n\t- *http.Config (did you mean to Provide it?)"} -{"level":"info","ts":1708487932.076092,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)"],"type":"*db.Config"} -{"level":"info","ts":1708487932.076797,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)"],"type":"*logger.Config"} -{"level":"info","ts":1708487932.0770729,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)"],"type":"*http.Config"} -{"level":"info","ts":1708487932.077352,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.New()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)"],"type":"*zap.SugaredLogger"} -{"level":"info","ts":1708487932.0773911,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.NewGormLogger()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)"],"type":"*logger.GormLogger"} -{"level":"info","ts":1708487932.0774221,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.newHttp()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)"],"type":"*http.Server"} -{"level":"info","ts":1708487932.077473,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.NewRouter()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)"],"type":"*gin.Engine"} -{"level":"info","ts":1708487932.077517,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.New.func1()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)"],"type":"fx.Lifecycle"} -{"level":"info","ts":1708487932.077583,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).shutdowner-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)"],"type":"fx.Shutdowner"} -{"level":"info","ts":1708487932.077648,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).dotGraph-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:11)"],"type":"fx.DotGraph"} -{"level":"info","ts":1708487932.077714,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","kind":"provide"} -{"level":"info","ts":1708487932.0777369,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/logger.New()","kind":"provide"} -{"level":"info","ts":1708487932.077755,"caller":"fxevent/zap.go:51","msg":"initialized custom fxevent.Logger","function":"github.com/STommydx/FolioForge/logger.glob..func1()"} -{"level":"info","ts":1708487932.077782,"caller":"fxevent/zap.go:51","msg":"invoking","function":"github.com/STommydx/FolioForge/http.runHttpServer()"} -{"level":"info","ts":1708487932.077815,"caller":"fxevent/zap.go:51","msg":"run","name":"go.uber.org/fx.New.func1()","kind":"provide"} -{"level":"info","ts":1708487932.077912,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/http.NewRouter()","kind":"provide"} -{"level":"info","ts":1708487932.0779378,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/http.newHttp()","kind":"provide"} -{"level":"info","ts":1708487932.078252,"caller":"fxevent/zap.go:51","msg":"OnStart hook executing","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func1()","caller":"github.com/STommydx/FolioForge/http.runHttpServer"} -{"level":"info","ts":1708487932.078277,"caller":"fxevent/zap.go:51","msg":"OnStart hook executed","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func1()","caller":"github.com/STommydx/FolioForge/http.runHttpServer","runtime":"3.125µs"} -{"level":"info","ts":1708487932.078376,"caller":"fxevent/zap.go:51","msg":"started"} -{"level":"info","ts":1708487940.0208662,"caller":"zap@v0.2.0/zap.go:91","msg":"/","status":404,"method":"GET","path":"/","query":"","ip":"::1","user-agent":"curl/8.4.0","latency":0.000004625,"time":"2024-02-21T03:59:00Z"} -{"level":"info","ts":1708487943.7797172,"caller":"zap@v0.2.0/zap.go:91","msg":"/healthz","status":404,"method":"GET","path":"/healthz","query":"","ip":"::1","user-agent":"curl/8.4.0","latency":0.000076958,"time":"2024-02-21T03:59:03Z"} -{"level":"info","ts":1708487965.133514,"caller":"fxevent/zap.go:51","msg":"received signal","signal":"INTERRUPT"} -{"level":"info","ts":1708487965.13479,"caller":"fxevent/zap.go:51","msg":"OnStop hook executing","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func2()","caller":"github.com/STommydx/FolioForge/http.runHttpServer"} -{"level":"info","ts":1708487965.134974,"caller":"fxevent/zap.go:51","msg":"OnStop hook executed","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func2()","caller":"github.com/STommydx/FolioForge/http.runHttpServer","runtime":"154.334µs"} -{"level":"info","ts":1708487968.133044,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"*db.Config"} -{"level":"info","ts":1708487968.133333,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"*logger.Config"} -{"level":"info","ts":1708487968.133464,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"*http.Config"} -{"level":"info","ts":1708487968.133517,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.New()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"*zap.SugaredLogger"} -{"level":"info","ts":1708487968.1335402,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.NewGormLogger()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"*logger.GormLogger"} -{"level":"info","ts":1708487968.1335602,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.newHttp()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"*http.Server"} -{"level":"info","ts":1708487968.133576,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.NewRouter()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"*gin.Engine"} -{"level":"info","ts":1708487968.13359,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"fx.Annotate(github.com/STommydx/FolioForge/healthz.NewHealthzController(), fx.ResultTags([\"group:\\\"controllerRoutes\\\"\"]), fx.As([[http.ControllerRoute]])","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"http.ControllerRoute[group = \"controllerRoutes\"]"} -{"level":"info","ts":1708487968.133607,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.New.func1()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"fx.Lifecycle"} -{"level":"info","ts":1708487968.133657,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).shutdowner-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"fx.Shutdowner"} -{"level":"info","ts":1708487968.133696,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).dotGraph-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"fx.DotGraph"} -{"level":"info","ts":1708487968.133742,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","kind":"provide"} -{"level":"info","ts":1708487968.133754,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/logger.New()","kind":"provide"} -{"level":"info","ts":1708487968.133764,"caller":"fxevent/zap.go:51","msg":"initialized custom fxevent.Logger","function":"github.com/STommydx/FolioForge/logger.glob..func1()"} -{"level":"info","ts":1708487968.1337779,"caller":"fxevent/zap.go:51","msg":"invoking","function":"github.com/STommydx/FolioForge/http.runHttpServer()"} -{"level":"info","ts":1708487968.133795,"caller":"fxevent/zap.go:51","msg":"run","name":"go.uber.org/fx.New.func1()","kind":"provide"} -{"level":"error","ts":1708487968.1338391,"caller":"fxevent/zap.go:59","msg":"invoke failed","error":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer (/Users/stommydx/git/FolioForge/http/http.go:22): failed to build *http.Server: could not build arguments for function \"github.com/STommydx/FolioForge/http\".newHttp (/Users/stommydx/git/FolioForge/http/http.go:15): failed to build *gin.Engine: could not build arguments for function \"github.com/STommydx/FolioForge/http\".NewRouter (/Users/stommydx/git/FolioForge/http/router.go:25): could not build value group http.ControllerRoute[group=\"controllerRoutes\"]: missing dependencies for function \"reflect\".makeFuncStub (/opt/homebrew/Cellar/go/1.21.5/libexec/src/reflect/asm_arm64.s:29): missing type: *healthz.HealthzService","errorVerbose":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer\n\t/Users/stommydx/git/FolioForge/http/http.go:22:\nfailed to build *http.Server:\ncould not build arguments for function \"github.com/STommydx/FolioForge/http\".newHttp\n\t/Users/stommydx/git/FolioForge/http/http.go:15:\nfailed to build *gin.Engine:\ncould not build arguments for function \"github.com/STommydx/FolioForge/http\".NewRouter\n\t/Users/stommydx/git/FolioForge/http/router.go:25:\ncould not build value group http.ControllerRoute[group=\"controllerRoutes\"]:\nmissing dependencies for function \"reflect\".makeFuncStub\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/reflect/asm_arm64.s:29:\nmissing type:\n\t- *healthz.HealthzService (did you mean to Provide it?)","stack":"github.com/STommydx/FolioForge/http.init\n\t/Users/stommydx/git/FolioForge/http/module.go:7\nruntime.doInit1\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740\nruntime.doInit\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707\nruntime.main\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249\n","function":"github.com/STommydx/FolioForge/http.runHttpServer()"} -{"level":"error","ts":1708487968.134036,"caller":"fxevent/zap.go:59","msg":"start failed","error":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer (/Users/stommydx/git/FolioForge/http/http.go:22): failed to build *http.Server: could not build arguments for function \"github.com/STommydx/FolioForge/http\".newHttp (/Users/stommydx/git/FolioForge/http/http.go:15): failed to build *gin.Engine: could not build arguments for function \"github.com/STommydx/FolioForge/http\".NewRouter (/Users/stommydx/git/FolioForge/http/router.go:25): could not build value group http.ControllerRoute[group=\"controllerRoutes\"]: missing dependencies for function \"reflect\".makeFuncStub (/opt/homebrew/Cellar/go/1.21.5/libexec/src/reflect/asm_arm64.s:29): missing type: *healthz.HealthzService","errorVerbose":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer\n\t/Users/stommydx/git/FolioForge/http/http.go:22:\nfailed to build *http.Server:\ncould not build arguments for function \"github.com/STommydx/FolioForge/http\".newHttp\n\t/Users/stommydx/git/FolioForge/http/http.go:15:\nfailed to build *gin.Engine:\ncould not build arguments for function \"github.com/STommydx/FolioForge/http\".NewRouter\n\t/Users/stommydx/git/FolioForge/http/router.go:25:\ncould not build value group http.ControllerRoute[group=\"controllerRoutes\"]:\nmissing dependencies for function \"reflect\".makeFuncStub\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/reflect/asm_arm64.s:29:\nmissing type:\n\t- *healthz.HealthzService (did you mean to Provide it?)"} -{"level":"info","ts":1708488004.412427,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"*db.Config"} -{"level":"info","ts":1708488004.413783,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"*logger.Config"} -{"level":"info","ts":1708488004.413903,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"*http.Config"} -{"level":"info","ts":1708488004.413985,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.New()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"*zap.SugaredLogger"} -{"level":"info","ts":1708488004.414028,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.NewGormLogger()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"*logger.GormLogger"} -{"level":"info","ts":1708488004.41406,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.newHttp()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"*http.Server"} -{"level":"info","ts":1708488004.4141052,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.NewRouter()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"*gin.Engine"} -{"level":"info","ts":1708488004.414135,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"fx.Annotate(github.com/STommydx/FolioForge/healthz.NewHealthzController(), fx.ResultTags([\"group:\\\"controllerRoutes\\\"\"]), fx.As([[http.ControllerRoute]])","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"http.ControllerRoute[group = \"controllerRoutes\"]"} -{"level":"info","ts":1708488004.414167,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/healthz.NewHealthzService()","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"*healthz.HealthzService"} -{"level":"info","ts":1708488004.414196,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.New.func1()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"fx.Lifecycle"} -{"level":"info","ts":1708488004.41426,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).shutdowner-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"fx.Shutdowner"} -{"level":"info","ts":1708488004.414332,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).dotGraph-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:12)"],"type":"fx.DotGraph"} -{"level":"info","ts":1708488004.41438,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","kind":"provide"} -{"level":"info","ts":1708488004.4144,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/logger.New()","kind":"provide"} -{"level":"info","ts":1708488004.414418,"caller":"fxevent/zap.go:51","msg":"initialized custom fxevent.Logger","function":"github.com/STommydx/FolioForge/logger.glob..func1()"} -{"level":"info","ts":1708488004.414443,"caller":"fxevent/zap.go:51","msg":"invoking","function":"github.com/STommydx/FolioForge/http.runHttpServer()"} -{"level":"info","ts":1708488004.414477,"caller":"fxevent/zap.go:51","msg":"run","name":"go.uber.org/fx.New.func1()","kind":"provide"} -{"level":"error","ts":1708488004.414559,"caller":"fxevent/zap.go:59","msg":"invoke failed","error":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer (/Users/stommydx/git/FolioForge/http/http.go:22): failed to build *http.Server: could not build arguments for function \"github.com/STommydx/FolioForge/http\".newHttp (/Users/stommydx/git/FolioForge/http/http.go:15): failed to build *gin.Engine: could not build arguments for function \"github.com/STommydx/FolioForge/http\".NewRouter (/Users/stommydx/git/FolioForge/http/router.go:25): could not build value group http.ControllerRoute[group=\"controllerRoutes\"]: could not build arguments for function \"reflect\".makeFuncStub (/opt/homebrew/Cellar/go/1.21.5/libexec/src/reflect/asm_arm64.s:29): failed to build *healthz.HealthzService: missing dependencies for function \"github.com/STommydx/FolioForge/healthz\".NewHealthzService (/Users/stommydx/git/FolioForge/healthz/service.go:27): missing type: *gorm.DB","errorVerbose":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer\n\t/Users/stommydx/git/FolioForge/http/http.go:22:\nfailed to build *http.Server:\ncould not build arguments for function \"github.com/STommydx/FolioForge/http\".newHttp\n\t/Users/stommydx/git/FolioForge/http/http.go:15:\nfailed to build *gin.Engine:\ncould not build arguments for function \"github.com/STommydx/FolioForge/http\".NewRouter\n\t/Users/stommydx/git/FolioForge/http/router.go:25:\ncould not build value group http.ControllerRoute[group=\"controllerRoutes\"]:\ncould not build arguments for function \"reflect\".makeFuncStub\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/reflect/asm_arm64.s:29:\nfailed to build *healthz.HealthzService:\nmissing dependencies for function \"github.com/STommydx/FolioForge/healthz\".NewHealthzService\n\t/Users/stommydx/git/FolioForge/healthz/service.go:27:\nmissing type:\n\t- *gorm.DB (did you mean to Provide it?)","stack":"github.com/STommydx/FolioForge/http.init\n\t/Users/stommydx/git/FolioForge/http/module.go:7\nruntime.doInit1\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740\nruntime.doInit\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707\nruntime.main\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249\n","function":"github.com/STommydx/FolioForge/http.runHttpServer()"} -{"level":"error","ts":1708488004.414963,"caller":"fxevent/zap.go:59","msg":"start failed","error":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer (/Users/stommydx/git/FolioForge/http/http.go:22): failed to build *http.Server: could not build arguments for function \"github.com/STommydx/FolioForge/http\".newHttp (/Users/stommydx/git/FolioForge/http/http.go:15): failed to build *gin.Engine: could not build arguments for function \"github.com/STommydx/FolioForge/http\".NewRouter (/Users/stommydx/git/FolioForge/http/router.go:25): could not build value group http.ControllerRoute[group=\"controllerRoutes\"]: could not build arguments for function \"reflect\".makeFuncStub (/opt/homebrew/Cellar/go/1.21.5/libexec/src/reflect/asm_arm64.s:29): failed to build *healthz.HealthzService: missing dependencies for function \"github.com/STommydx/FolioForge/healthz\".NewHealthzService (/Users/stommydx/git/FolioForge/healthz/service.go:27): missing type: *gorm.DB","errorVerbose":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer\n\t/Users/stommydx/git/FolioForge/http/http.go:22:\nfailed to build *http.Server:\ncould not build arguments for function \"github.com/STommydx/FolioForge/http\".newHttp\n\t/Users/stommydx/git/FolioForge/http/http.go:15:\nfailed to build *gin.Engine:\ncould not build arguments for function \"github.com/STommydx/FolioForge/http\".NewRouter\n\t/Users/stommydx/git/FolioForge/http/router.go:25:\ncould not build value group http.ControllerRoute[group=\"controllerRoutes\"]:\ncould not build arguments for function \"reflect\".makeFuncStub\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/reflect/asm_arm64.s:29:\nfailed to build *healthz.HealthzService:\nmissing dependencies for function \"github.com/STommydx/FolioForge/healthz\".NewHealthzService\n\t/Users/stommydx/git/FolioForge/healthz/service.go:27:\nmissing type:\n\t- *gorm.DB (did you mean to Provide it?)"} -{"level":"info","ts":1708488087.65134,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*db.Config"} -{"level":"info","ts":1708488087.6520698,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.Config"} -{"level":"info","ts":1708488087.652292,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Config"} -{"level":"info","ts":1708488087.6523762,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.New()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*zap.SugaredLogger"} -{"level":"info","ts":1708488087.652416,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.NewGormLogger()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.GormLogger"} -{"level":"info","ts":1708488087.652446,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.newHttp()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Server"} -{"level":"info","ts":1708488087.652477,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.NewRouter()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gin.Engine"} -{"level":"info","ts":1708488087.652509,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"fx.Annotate(github.com/STommydx/FolioForge/healthz.NewHealthzController(), fx.ResultTags([\"group:\\\"controllerRoutes\\\"\"]), fx.As([[http.ControllerRoute]])","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"http.ControllerRoute[group = \"controllerRoutes\"]"} -{"level":"info","ts":1708488087.652537,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/healthz.NewHealthzService()","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*healthz.HealthzService"} -{"level":"info","ts":1708488087.6525629,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/db.NewPostgresDB()","stacktrace":["github.com/STommydx/FolioForge/db.init (/Users/stommydx/git/FolioForge/db/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/db.init (/Users/stommydx/git/FolioForge/db/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gorm.DB"} -{"level":"info","ts":1708488087.652598,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.New.func1()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.Lifecycle"} -{"level":"info","ts":1708488087.652658,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).shutdowner-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.Shutdowner"} -{"level":"info","ts":1708488087.652715,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).dotGraph-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.DotGraph"} -{"level":"info","ts":1708488087.652778,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","kind":"provide"} -{"level":"info","ts":1708488087.652799,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/logger.New()","kind":"provide"} -{"level":"info","ts":1708488087.6528158,"caller":"fxevent/zap.go:51","msg":"initialized custom fxevent.Logger","function":"github.com/STommydx/FolioForge/logger.glob..func1()"} -{"level":"info","ts":1708488087.652838,"caller":"fxevent/zap.go:51","msg":"invoking","function":"github.com/STommydx/FolioForge/http.runHttpServer()"} -{"level":"info","ts":1708488087.652865,"caller":"fxevent/zap.go:51","msg":"run","name":"go.uber.org/fx.New.func1()","kind":"provide"} -{"level":"error","ts":1708488087.7304268,"caller":"fxevent/zap.go:59","msg":"error returned","name":"github.com/STommydx/FolioForge/db.NewPostgresDB()","kind":"provide","error":"received non-nil error from function \"github.com/STommydx/FolioForge/db\".NewPostgresDB (/Users/stommydx/git/FolioForge/db/db.go:17): failed to connect to `host=user= user=stommydx database=`: hostname resolving error (lookup user=: no such host)","errorVerbose":"received non-nil error from function \"github.com/STommydx/FolioForge/db\".NewPostgresDB\n\t/Users/stommydx/git/FolioForge/db/db.go:17:\nfailed to connect to `host=user= user=stommydx database=`: hostname resolving error (lookup user=: no such host)"} -{"level":"error","ts":1708488087.73054,"caller":"fxevent/zap.go:59","msg":"invoke failed","error":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer (/Users/stommydx/git/FolioForge/http/http.go:22): failed to build *http.Server: could not build arguments for function \"github.com/STommydx/FolioForge/http\".newHttp (/Users/stommydx/git/FolioForge/http/http.go:15): failed to build *gin.Engine: could not build arguments for function \"github.com/STommydx/FolioForge/http\".NewRouter (/Users/stommydx/git/FolioForge/http/router.go:25): could not build value group http.ControllerRoute[group=\"controllerRoutes\"]: could not build arguments for function \"reflect\".makeFuncStub (/opt/homebrew/Cellar/go/1.21.5/libexec/src/reflect/asm_arm64.s:29): failed to build *healthz.HealthzService: could not build arguments for function \"github.com/STommydx/FolioForge/healthz\".NewHealthzService (/Users/stommydx/git/FolioForge/healthz/service.go:27): failed to build *gorm.DB: received non-nil error from function \"github.com/STommydx/FolioForge/db\".NewPostgresDB (/Users/stommydx/git/FolioForge/db/db.go:17): failed to connect to `host=user= user=stommydx database=`: hostname resolving error (lookup user=: no such host)","errorVerbose":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer\n\t/Users/stommydx/git/FolioForge/http/http.go:22:\nfailed to build *http.Server:\ncould not build arguments for function \"github.com/STommydx/FolioForge/http\".newHttp\n\t/Users/stommydx/git/FolioForge/http/http.go:15:\nfailed to build *gin.Engine:\ncould not build arguments for function \"github.com/STommydx/FolioForge/http\".NewRouter\n\t/Users/stommydx/git/FolioForge/http/router.go:25:\ncould not build value group http.ControllerRoute[group=\"controllerRoutes\"]:\ncould not build arguments for function \"reflect\".makeFuncStub\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/reflect/asm_arm64.s:29:\nfailed to build *healthz.HealthzService:\ncould not build arguments for function \"github.com/STommydx/FolioForge/healthz\".NewHealthzService\n\t/Users/stommydx/git/FolioForge/healthz/service.go:27:\nfailed to build *gorm.DB:\nreceived non-nil error from function \"github.com/STommydx/FolioForge/db\".NewPostgresDB\n\t/Users/stommydx/git/FolioForge/db/db.go:17:\nfailed to connect to `host=user= user=stommydx database=`: hostname resolving error (lookup user=: no such host)","stack":"github.com/STommydx/FolioForge/http.init\n\t/Users/stommydx/git/FolioForge/http/module.go:7\nruntime.doInit1\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740\nruntime.doInit\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707\nruntime.main\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249\n","function":"github.com/STommydx/FolioForge/http.runHttpServer()"} -{"level":"error","ts":1708488087.730988,"caller":"fxevent/zap.go:59","msg":"start failed","error":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer (/Users/stommydx/git/FolioForge/http/http.go:22): failed to build *http.Server: could not build arguments for function \"github.com/STommydx/FolioForge/http\".newHttp (/Users/stommydx/git/FolioForge/http/http.go:15): failed to build *gin.Engine: could not build arguments for function \"github.com/STommydx/FolioForge/http\".NewRouter (/Users/stommydx/git/FolioForge/http/router.go:25): could not build value group http.ControllerRoute[group=\"controllerRoutes\"]: could not build arguments for function \"reflect\".makeFuncStub (/opt/homebrew/Cellar/go/1.21.5/libexec/src/reflect/asm_arm64.s:29): failed to build *healthz.HealthzService: could not build arguments for function \"github.com/STommydx/FolioForge/healthz\".NewHealthzService (/Users/stommydx/git/FolioForge/healthz/service.go:27): failed to build *gorm.DB: received non-nil error from function \"github.com/STommydx/FolioForge/db\".NewPostgresDB (/Users/stommydx/git/FolioForge/db/db.go:17): failed to connect to `host=user= user=stommydx database=`: hostname resolving error (lookup user=: no such host)","errorVerbose":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer\n\t/Users/stommydx/git/FolioForge/http/http.go:22:\nfailed to build *http.Server:\ncould not build arguments for function \"github.com/STommydx/FolioForge/http\".newHttp\n\t/Users/stommydx/git/FolioForge/http/http.go:15:\nfailed to build *gin.Engine:\ncould not build arguments for function \"github.com/STommydx/FolioForge/http\".NewRouter\n\t/Users/stommydx/git/FolioForge/http/router.go:25:\ncould not build value group http.ControllerRoute[group=\"controllerRoutes\"]:\ncould not build arguments for function \"reflect\".makeFuncStub\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/reflect/asm_arm64.s:29:\nfailed to build *healthz.HealthzService:\ncould not build arguments for function \"github.com/STommydx/FolioForge/healthz\".NewHealthzService\n\t/Users/stommydx/git/FolioForge/healthz/service.go:27:\nfailed to build *gorm.DB:\nreceived non-nil error from function \"github.com/STommydx/FolioForge/db\".NewPostgresDB\n\t/Users/stommydx/git/FolioForge/db/db.go:17:\nfailed to connect to `host=user= user=stommydx database=`: hostname resolving error (lookup user=: no such host)"} -{"level":"info","ts":1708488876.709284,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*db.Config"} -{"level":"info","ts":1708488876.710104,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.Config"} -{"level":"info","ts":1708488876.710273,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Config"} -{"level":"info","ts":1708488876.710342,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.New()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*zap.SugaredLogger"} -{"level":"info","ts":1708488876.7103958,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.NewGormLogger()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.GormLogger"} -{"level":"info","ts":1708488876.710432,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.newHttp()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Server"} -{"level":"info","ts":1708488876.710464,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.NewRouter()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gin.Engine"} -{"level":"info","ts":1708488876.710496,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"fx.Annotate(github.com/STommydx/FolioForge/healthz.NewHealthzController(), fx.ResultTags([\"group:\\\"controllerRoutes\\\"\"]), fx.As([[http.ControllerRoute]])","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"http.ControllerRoute[group = \"controllerRoutes\"]"} -{"level":"info","ts":1708488876.710528,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/healthz.NewHealthzService()","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*healthz.HealthzService"} -{"level":"info","ts":1708488876.710559,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/db.NewPostgresDB()","stacktrace":["github.com/STommydx/FolioForge/db.init (/Users/stommydx/git/FolioForge/db/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/db.init (/Users/stommydx/git/FolioForge/db/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gorm.DB"} -{"level":"info","ts":1708488876.710589,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.New.func1()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.Lifecycle"} -{"level":"info","ts":1708488876.710627,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).shutdowner-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.Shutdowner"} -{"level":"info","ts":1708488876.71068,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).dotGraph-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.DotGraph"} -{"level":"info","ts":1708488876.710743,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","kind":"provide"} -{"level":"info","ts":1708488876.710767,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/logger.New()","kind":"provide"} -{"level":"info","ts":1708488876.710787,"caller":"fxevent/zap.go:51","msg":"initialized custom fxevent.Logger","function":"github.com/STommydx/FolioForge/logger.glob..func1()"} -{"level":"info","ts":1708488876.710813,"caller":"fxevent/zap.go:51","msg":"invoking","function":"github.com/STommydx/FolioForge/http.runHttpServer()"} -{"level":"info","ts":1708488876.7108521,"caller":"fxevent/zap.go:51","msg":"run","name":"go.uber.org/fx.New.func1()","kind":"provide"} -{"level":"error","ts":1708488876.800308,"caller":"fxevent/zap.go:59","msg":"error returned","name":"github.com/STommydx/FolioForge/db.NewPostgresDB()","kind":"provide","error":"received non-nil error from function \"github.com/STommydx/FolioForge/db\".NewPostgresDB (/Users/stommydx/git/FolioForge/db/db.go:17): failed to connect to `host=localhost:5432 user=folioforge database=folioforge`: hostname resolving error (lookup localhost:5432: no such host)","errorVerbose":"received non-nil error from function \"github.com/STommydx/FolioForge/db\".NewPostgresDB\n\t/Users/stommydx/git/FolioForge/db/db.go:17:\nfailed to connect to `host=localhost:5432 user=folioforge database=folioforge`: hostname resolving error (lookup localhost:5432: no such host)"} -{"level":"error","ts":1708488876.800427,"caller":"fxevent/zap.go:59","msg":"invoke failed","error":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer (/Users/stommydx/git/FolioForge/http/http.go:22): failed to build *http.Server: could not build arguments for function \"github.com/STommydx/FolioForge/http\".newHttp (/Users/stommydx/git/FolioForge/http/http.go:15): failed to build *gin.Engine: could not build arguments for function \"github.com/STommydx/FolioForge/http\".NewRouter (/Users/stommydx/git/FolioForge/http/router.go:25): could not build value group http.ControllerRoute[group=\"controllerRoutes\"]: could not build arguments for function \"reflect\".makeFuncStub (/opt/homebrew/Cellar/go/1.21.5/libexec/src/reflect/asm_arm64.s:29): failed to build *healthz.HealthzService: could not build arguments for function \"github.com/STommydx/FolioForge/healthz\".NewHealthzService (/Users/stommydx/git/FolioForge/healthz/service.go:27): failed to build *gorm.DB: received non-nil error from function \"github.com/STommydx/FolioForge/db\".NewPostgresDB (/Users/stommydx/git/FolioForge/db/db.go:17): failed to connect to `host=localhost:5432 user=folioforge database=folioforge`: hostname resolving error (lookup localhost:5432: no such host)","errorVerbose":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer\n\t/Users/stommydx/git/FolioForge/http/http.go:22:\nfailed to build *http.Server:\ncould not build arguments for function \"github.com/STommydx/FolioForge/http\".newHttp\n\t/Users/stommydx/git/FolioForge/http/http.go:15:\nfailed to build *gin.Engine:\ncould not build arguments for function \"github.com/STommydx/FolioForge/http\".NewRouter\n\t/Users/stommydx/git/FolioForge/http/router.go:25:\ncould not build value group http.ControllerRoute[group=\"controllerRoutes\"]:\ncould not build arguments for function \"reflect\".makeFuncStub\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/reflect/asm_arm64.s:29:\nfailed to build *healthz.HealthzService:\ncould not build arguments for function \"github.com/STommydx/FolioForge/healthz\".NewHealthzService\n\t/Users/stommydx/git/FolioForge/healthz/service.go:27:\nfailed to build *gorm.DB:\nreceived non-nil error from function \"github.com/STommydx/FolioForge/db\".NewPostgresDB\n\t/Users/stommydx/git/FolioForge/db/db.go:17:\nfailed to connect to `host=localhost:5432 user=folioforge database=folioforge`: hostname resolving error (lookup localhost:5432: no such host)","stack":"github.com/STommydx/FolioForge/http.init\n\t/Users/stommydx/git/FolioForge/http/module.go:7\nruntime.doInit1\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740\nruntime.doInit\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707\nruntime.main\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249\n","function":"github.com/STommydx/FolioForge/http.runHttpServer()"} -{"level":"error","ts":1708488876.800895,"caller":"fxevent/zap.go:59","msg":"start failed","error":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer (/Users/stommydx/git/FolioForge/http/http.go:22): failed to build *http.Server: could not build arguments for function \"github.com/STommydx/FolioForge/http\".newHttp (/Users/stommydx/git/FolioForge/http/http.go:15): failed to build *gin.Engine: could not build arguments for function \"github.com/STommydx/FolioForge/http\".NewRouter (/Users/stommydx/git/FolioForge/http/router.go:25): could not build value group http.ControllerRoute[group=\"controllerRoutes\"]: could not build arguments for function \"reflect\".makeFuncStub (/opt/homebrew/Cellar/go/1.21.5/libexec/src/reflect/asm_arm64.s:29): failed to build *healthz.HealthzService: could not build arguments for function \"github.com/STommydx/FolioForge/healthz\".NewHealthzService (/Users/stommydx/git/FolioForge/healthz/service.go:27): failed to build *gorm.DB: received non-nil error from function \"github.com/STommydx/FolioForge/db\".NewPostgresDB (/Users/stommydx/git/FolioForge/db/db.go:17): failed to connect to `host=localhost:5432 user=folioforge database=folioforge`: hostname resolving error (lookup localhost:5432: no such host)","errorVerbose":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer\n\t/Users/stommydx/git/FolioForge/http/http.go:22:\nfailed to build *http.Server:\ncould not build arguments for function \"github.com/STommydx/FolioForge/http\".newHttp\n\t/Users/stommydx/git/FolioForge/http/http.go:15:\nfailed to build *gin.Engine:\ncould not build arguments for function \"github.com/STommydx/FolioForge/http\".NewRouter\n\t/Users/stommydx/git/FolioForge/http/router.go:25:\ncould not build value group http.ControllerRoute[group=\"controllerRoutes\"]:\ncould not build arguments for function \"reflect\".makeFuncStub\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/reflect/asm_arm64.s:29:\nfailed to build *healthz.HealthzService:\ncould not build arguments for function \"github.com/STommydx/FolioForge/healthz\".NewHealthzService\n\t/Users/stommydx/git/FolioForge/healthz/service.go:27:\nfailed to build *gorm.DB:\nreceived non-nil error from function \"github.com/STommydx/FolioForge/db\".NewPostgresDB\n\t/Users/stommydx/git/FolioForge/db/db.go:17:\nfailed to connect to `host=localhost:5432 user=folioforge database=folioforge`: hostname resolving error (lookup localhost:5432: no such host)"} -{"level":"info","ts":1708488945.237087,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*db.Config"} -{"level":"info","ts":1708488945.237889,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.Config"} -{"level":"info","ts":1708488945.238014,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Config"} -{"level":"info","ts":1708488945.23806,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.New()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*zap.SugaredLogger"} -{"level":"info","ts":1708488945.238084,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.NewGormLogger()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.GormLogger"} -{"level":"info","ts":1708488945.23811,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.newHttp()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Server"} -{"level":"info","ts":1708488945.2381282,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.NewRouter()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gin.Engine"} -{"level":"info","ts":1708488945.238145,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"fx.Annotate(github.com/STommydx/FolioForge/healthz.NewHealthzController(), fx.ResultTags([\"group:\\\"controllerRoutes\\\"\"]), fx.As([[http.ControllerRoute]])","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"http.ControllerRoute[group = \"controllerRoutes\"]"} -{"level":"info","ts":1708488945.2381618,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/healthz.NewHealthzService()","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*healthz.HealthzService"} -{"level":"info","ts":1708488945.2382028,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/db.NewPostgresDB()","stacktrace":["github.com/STommydx/FolioForge/db.init (/Users/stommydx/git/FolioForge/db/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/db.init (/Users/stommydx/git/FolioForge/db/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gorm.DB"} -{"level":"info","ts":1708488945.238223,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.New.func1()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.Lifecycle"} -{"level":"info","ts":1708488945.238252,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).shutdowner-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.Shutdowner"} -{"level":"info","ts":1708488945.2382998,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).dotGraph-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.DotGraph"} -{"level":"info","ts":1708488945.238335,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","kind":"provide"} -{"level":"info","ts":1708488945.238351,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/logger.New()","kind":"provide"} -{"level":"info","ts":1708488945.2383628,"caller":"fxevent/zap.go:51","msg":"initialized custom fxevent.Logger","function":"github.com/STommydx/FolioForge/logger.glob..func1()"} -{"level":"info","ts":1708488945.238379,"caller":"fxevent/zap.go:51","msg":"invoking","function":"github.com/STommydx/FolioForge/http.runHttpServer()"} -{"level":"info","ts":1708488945.2384021,"caller":"fxevent/zap.go:51","msg":"run","name":"go.uber.org/fx.New.func1()","kind":"provide"} -{"level":"error","ts":1708488945.244334,"caller":"fxevent/zap.go:59","msg":"error returned","name":"github.com/STommydx/FolioForge/db.NewPostgresDB()","kind":"provide","error":"received non-nil error from function \"github.com/STommydx/FolioForge/db\".NewPostgresDB (/Users/stommydx/git/FolioForge/db/db.go:17): failed to connect to `host=localhost:5432 user=folioforge database=folioforge`: hostname resolving error (lookup localhost:5432: no such host)","errorVerbose":"received non-nil error from function \"github.com/STommydx/FolioForge/db\".NewPostgresDB\n\t/Users/stommydx/git/FolioForge/db/db.go:17:\nfailed to connect to `host=localhost:5432 user=folioforge database=folioforge`: hostname resolving error (lookup localhost:5432: no such host)"} -{"level":"error","ts":1708488945.2451,"caller":"fxevent/zap.go:59","msg":"invoke failed","error":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer (/Users/stommydx/git/FolioForge/http/http.go:22): failed to build *http.Server: could not build arguments for function \"github.com/STommydx/FolioForge/http\".newHttp (/Users/stommydx/git/FolioForge/http/http.go:15): failed to build *gin.Engine: could not build arguments for function \"github.com/STommydx/FolioForge/http\".NewRouter (/Users/stommydx/git/FolioForge/http/router.go:25): could not build value group http.ControllerRoute[group=\"controllerRoutes\"]: could not build arguments for function \"reflect\".makeFuncStub (/opt/homebrew/Cellar/go/1.21.5/libexec/src/reflect/asm_arm64.s:29): failed to build *healthz.HealthzService: could not build arguments for function \"github.com/STommydx/FolioForge/healthz\".NewHealthzService (/Users/stommydx/git/FolioForge/healthz/service.go:27): failed to build *gorm.DB: received non-nil error from function \"github.com/STommydx/FolioForge/db\".NewPostgresDB (/Users/stommydx/git/FolioForge/db/db.go:17): failed to connect to `host=localhost:5432 user=folioforge database=folioforge`: hostname resolving error (lookup localhost:5432: no such host)","errorVerbose":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer\n\t/Users/stommydx/git/FolioForge/http/http.go:22:\nfailed to build *http.Server:\ncould not build arguments for function \"github.com/STommydx/FolioForge/http\".newHttp\n\t/Users/stommydx/git/FolioForge/http/http.go:15:\nfailed to build *gin.Engine:\ncould not build arguments for function \"github.com/STommydx/FolioForge/http\".NewRouter\n\t/Users/stommydx/git/FolioForge/http/router.go:25:\ncould not build value group http.ControllerRoute[group=\"controllerRoutes\"]:\ncould not build arguments for function \"reflect\".makeFuncStub\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/reflect/asm_arm64.s:29:\nfailed to build *healthz.HealthzService:\ncould not build arguments for function \"github.com/STommydx/FolioForge/healthz\".NewHealthzService\n\t/Users/stommydx/git/FolioForge/healthz/service.go:27:\nfailed to build *gorm.DB:\nreceived non-nil error from function \"github.com/STommydx/FolioForge/db\".NewPostgresDB\n\t/Users/stommydx/git/FolioForge/db/db.go:17:\nfailed to connect to `host=localhost:5432 user=folioforge database=folioforge`: hostname resolving error (lookup localhost:5432: no such host)","stack":"github.com/STommydx/FolioForge/http.init\n\t/Users/stommydx/git/FolioForge/http/module.go:7\nruntime.doInit1\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740\nruntime.doInit\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707\nruntime.main\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249\n","function":"github.com/STommydx/FolioForge/http.runHttpServer()"} -{"level":"error","ts":1708488945.245696,"caller":"fxevent/zap.go:59","msg":"start failed","error":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer (/Users/stommydx/git/FolioForge/http/http.go:22): failed to build *http.Server: could not build arguments for function \"github.com/STommydx/FolioForge/http\".newHttp (/Users/stommydx/git/FolioForge/http/http.go:15): failed to build *gin.Engine: could not build arguments for function \"github.com/STommydx/FolioForge/http\".NewRouter (/Users/stommydx/git/FolioForge/http/router.go:25): could not build value group http.ControllerRoute[group=\"controllerRoutes\"]: could not build arguments for function \"reflect\".makeFuncStub (/opt/homebrew/Cellar/go/1.21.5/libexec/src/reflect/asm_arm64.s:29): failed to build *healthz.HealthzService: could not build arguments for function \"github.com/STommydx/FolioForge/healthz\".NewHealthzService (/Users/stommydx/git/FolioForge/healthz/service.go:27): failed to build *gorm.DB: received non-nil error from function \"github.com/STommydx/FolioForge/db\".NewPostgresDB (/Users/stommydx/git/FolioForge/db/db.go:17): failed to connect to `host=localhost:5432 user=folioforge database=folioforge`: hostname resolving error (lookup localhost:5432: no such host)","errorVerbose":"could not build arguments for function \"github.com/STommydx/FolioForge/http\".runHttpServer\n\t/Users/stommydx/git/FolioForge/http/http.go:22:\nfailed to build *http.Server:\ncould not build arguments for function \"github.com/STommydx/FolioForge/http\".newHttp\n\t/Users/stommydx/git/FolioForge/http/http.go:15:\nfailed to build *gin.Engine:\ncould not build arguments for function \"github.com/STommydx/FolioForge/http\".NewRouter\n\t/Users/stommydx/git/FolioForge/http/router.go:25:\ncould not build value group http.ControllerRoute[group=\"controllerRoutes\"]:\ncould not build arguments for function \"reflect\".makeFuncStub\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/reflect/asm_arm64.s:29:\nfailed to build *healthz.HealthzService:\ncould not build arguments for function \"github.com/STommydx/FolioForge/healthz\".NewHealthzService\n\t/Users/stommydx/git/FolioForge/healthz/service.go:27:\nfailed to build *gorm.DB:\nreceived non-nil error from function \"github.com/STommydx/FolioForge/db\".NewPostgresDB\n\t/Users/stommydx/git/FolioForge/db/db.go:17:\nfailed to connect to `host=localhost:5432 user=folioforge database=folioforge`: hostname resolving error (lookup localhost:5432: no such host)"} -{"level":"info","ts":1708489102.5288699,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*db.Config"} -{"level":"info","ts":1708489102.529608,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.Config"} -{"level":"info","ts":1708489102.529687,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Config"} -{"level":"info","ts":1708489102.5297248,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.New()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*zap.SugaredLogger"} -{"level":"info","ts":1708489102.529747,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.NewGormLogger()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.GormLogger"} -{"level":"info","ts":1708489102.5297642,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.newHttp()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Server"} -{"level":"info","ts":1708489102.529782,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.NewRouter()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gin.Engine"} -{"level":"info","ts":1708489102.5297978,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"fx.Annotate(github.com/STommydx/FolioForge/healthz.NewHealthzController(), fx.ResultTags([\"group:\\\"controllerRoutes\\\"\"]), fx.As([[http.ControllerRoute]])","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"http.ControllerRoute[group = \"controllerRoutes\"]"} -{"level":"info","ts":1708489102.529814,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/healthz.NewHealthzService()","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*healthz.HealthzService"} -{"level":"info","ts":1708489102.52983,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/db.NewPostgresDB()","stacktrace":["github.com/STommydx/FolioForge/db.init (/Users/stommydx/git/FolioForge/db/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/db.init (/Users/stommydx/git/FolioForge/db/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gorm.DB"} -{"level":"info","ts":1708489102.5298471,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.New.func1()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.Lifecycle"} -{"level":"info","ts":1708489102.52987,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).shutdowner-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.Shutdowner"} -{"level":"info","ts":1708489102.529901,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).dotGraph-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.DotGraph"} -{"level":"info","ts":1708489102.52995,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","kind":"provide"} -{"level":"info","ts":1708489102.529968,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/logger.New()","kind":"provide"} -{"level":"info","ts":1708489102.529979,"caller":"fxevent/zap.go:51","msg":"initialized custom fxevent.Logger","function":"github.com/STommydx/FolioForge/logger.glob..func1()"} -{"level":"info","ts":1708489102.529996,"caller":"fxevent/zap.go:51","msg":"invoking","function":"github.com/STommydx/FolioForge/http.runHttpServer()"} -{"level":"info","ts":1708489102.530014,"caller":"fxevent/zap.go:51","msg":"run","name":"go.uber.org/fx.New.func1()","kind":"provide"} -{"level":"info","ts":1708489102.577767,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/db.NewPostgresDB()","kind":"provide"} -{"level":"info","ts":1708489102.577837,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/healthz.NewHealthzService()","kind":"provide"} -{"level":"info","ts":1708489102.5778718,"caller":"fxevent/zap.go:51","msg":"run","name":"fx.Annotate(github.com/STommydx/FolioForge/healthz.NewHealthzController(), fx.ResultTags([\"group:\\\"controllerRoutes\\\"\"]), fx.As([[http.ControllerRoute]])","kind":"provide"} -{"level":"info","ts":1708489102.577953,"caller":"http/router.go:37","msg":"registering controller route","pattern":"/healthz"} -{"level":"info","ts":1708489102.577995,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/http.NewRouter()","kind":"provide"} -{"level":"info","ts":1708489102.578013,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/http.newHttp()","kind":"provide"} -{"level":"info","ts":1708489102.578166,"caller":"fxevent/zap.go:51","msg":"OnStart hook executing","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func1()","caller":"github.com/STommydx/FolioForge/http.runHttpServer"} -{"level":"info","ts":1708489102.578181,"caller":"fxevent/zap.go:51","msg":"OnStart hook executed","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func1()","caller":"github.com/STommydx/FolioForge/http.runHttpServer","runtime":"2.292µs"} -{"level":"info","ts":1708489102.578285,"caller":"fxevent/zap.go:51","msg":"started"} -{"level":"info","ts":1708489113.75821,"caller":"zap@v0.2.0/zap.go:91","msg":"/healthz","status":404,"method":"GET","path":"/healthz","query":"","ip":"::1","user-agent":"curl/8.4.0","latency":0.000001875,"time":"2024-02-21T04:18:33Z"} -{"level":"info","ts":1708489148.5977018,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/healthz/","status":200,"method":"GET","path":"/v1/healthz/","query":"","ip":"::1","user-agent":"curl/8.4.0","latency":0.005227458,"time":"2024-02-21T04:19:08Z"} -{"level":"info","ts":1708489185.5077271,"caller":"fxevent/zap.go:51","msg":"received signal","signal":"INTERRUPT"} -{"level":"info","ts":1708489185.509175,"caller":"fxevent/zap.go:51","msg":"OnStop hook executing","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func2()","caller":"github.com/STommydx/FolioForge/http.runHttpServer"} -{"level":"info","ts":1708489185.5094771,"caller":"fxevent/zap.go:51","msg":"OnStop hook executed","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func2()","caller":"github.com/STommydx/FolioForge/http.runHttpServer","runtime":"220.292µs"} -{"level":"info","ts":1708489188.4918342,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*db.Config"} -{"level":"info","ts":1708489188.492411,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.Config"} -{"level":"info","ts":1708489188.492585,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Config"} -{"level":"info","ts":1708489188.4926562,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.New()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*zap.SugaredLogger"} -{"level":"info","ts":1708489188.492697,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.NewGormLogger()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.GormLogger"} -{"level":"info","ts":1708489188.4927301,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.newHttp()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Server"} -{"level":"info","ts":1708489188.492762,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.NewRouter()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gin.Engine"} -{"level":"info","ts":1708489188.492793,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"fx.Annotate(github.com/STommydx/FolioForge/healthz.NewHealthzController(), fx.ResultTags([\"group:\\\"controllerRoutes\\\"\"]), fx.As([[http.ControllerRoute]])","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"http.ControllerRoute[group = \"controllerRoutes\"]"} -{"level":"info","ts":1708489188.492825,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/healthz.NewHealthzService()","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*healthz.HealthzService"} -{"level":"info","ts":1708489188.492856,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/db.NewPostgresDB()","stacktrace":["github.com/STommydx/FolioForge/db.init (/Users/stommydx/git/FolioForge/db/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/db.init (/Users/stommydx/git/FolioForge/db/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gorm.DB"} -{"level":"info","ts":1708489188.492887,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.New.func1()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.Lifecycle"} -{"level":"info","ts":1708489188.4930282,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).shutdowner-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.Shutdowner"} -{"level":"info","ts":1708489188.493094,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).dotGraph-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.DotGraph"} -{"level":"info","ts":1708489188.493154,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","kind":"provide"} -{"level":"info","ts":1708489188.493182,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/logger.New()","kind":"provide"} -{"level":"info","ts":1708489188.4932039,"caller":"fxevent/zap.go:51","msg":"initialized custom fxevent.Logger","function":"github.com/STommydx/FolioForge/logger.glob..func1()"} -{"level":"info","ts":1708489188.493232,"caller":"fxevent/zap.go:51","msg":"invoking","function":"github.com/STommydx/FolioForge/http.runHttpServer()"} -{"level":"info","ts":1708489188.493268,"caller":"fxevent/zap.go:51","msg":"run","name":"go.uber.org/fx.New.func1()","kind":"provide"} -{"level":"info","ts":1708489188.526137,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/db.NewPostgresDB()","kind":"provide"} -{"level":"info","ts":1708489188.5262458,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/healthz.NewHealthzService()","kind":"provide"} -{"level":"info","ts":1708489188.526292,"caller":"fxevent/zap.go:51","msg":"run","name":"fx.Annotate(github.com/STommydx/FolioForge/healthz.NewHealthzController(), fx.ResultTags([\"group:\\\"controllerRoutes\\\"\"]), fx.As([[http.ControllerRoute]])","kind":"provide"} -{"level":"info","ts":1708489188.52637,"caller":"http/router.go:37","msg":"registering controller route","pattern":"/healthz"} -{"level":"info","ts":1708489188.526421,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/http.NewRouter()","kind":"provide"} -{"level":"info","ts":1708489188.526443,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/http.newHttp()","kind":"provide"} -{"level":"info","ts":1708489188.526697,"caller":"fxevent/zap.go:51","msg":"OnStart hook executing","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func1()","caller":"github.com/STommydx/FolioForge/http.runHttpServer"} -{"level":"info","ts":1708489188.526716,"caller":"fxevent/zap.go:51","msg":"OnStart hook executed","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func1()","caller":"github.com/STommydx/FolioForge/http.runHttpServer","runtime":"4.458µs"} -{"level":"info","ts":1708489188.526925,"caller":"fxevent/zap.go:51","msg":"started"} -{"level":"info","ts":1708489194.8508701,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/healthz","status":200,"method":"GET","path":"/v1/healthz","query":"","ip":"::1","user-agent":"curl/8.4.0","latency":0.003415666,"time":"2024-02-21T04:19:54Z"} -{"level":"info","ts":1708489388.6440609,"caller":"fxevent/zap.go:51","msg":"received signal","signal":"INTERRUPT"} -{"level":"info","ts":1708489388.645259,"caller":"fxevent/zap.go:51","msg":"OnStop hook executing","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func2()","caller":"github.com/STommydx/FolioForge/http.runHttpServer"} -{"level":"info","ts":1708489388.6463401,"caller":"fxevent/zap.go:51","msg":"OnStop hook executed","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func2()","caller":"github.com/STommydx/FolioForge/http.runHttpServer","runtime":"1.011542ms"} -{"level":"info","ts":1708489392.086258,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*db.Config"} -{"level":"info","ts":1708489392.086611,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.Config"} -{"level":"info","ts":1708489392.086884,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Config"} -{"level":"info","ts":1708489392.086935,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.New()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*zap.SugaredLogger"} -{"level":"info","ts":1708489392.0869591,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.NewGormLogger()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.GormLogger"} -{"level":"info","ts":1708489392.0870059,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.newHttp()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Server"} -{"level":"info","ts":1708489392.0870469,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.NewRouter()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gin.Engine"} -{"level":"info","ts":1708489392.08707,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"fx.Annotate(github.com/STommydx/FolioForge/healthz.NewHealthzController(), fx.ResultTags([\"group:\\\"controllerRoutes\\\"\"]), fx.As([[http.ControllerRoute]])","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"http.ControllerRoute[group = \"controllerRoutes\"]"} -{"level":"info","ts":1708489392.08709,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/healthz.NewHealthzService()","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*healthz.HealthzService"} -{"level":"info","ts":1708489392.0871072,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/db.NewPostgresDB()","stacktrace":["github.com/STommydx/FolioForge/db.init (/Users/stommydx/git/FolioForge/db/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/db.init (/Users/stommydx/git/FolioForge/db/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gorm.DB"} -{"level":"info","ts":1708489392.087127,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.New.func1()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.Lifecycle"} -{"level":"info","ts":1708489392.0871592,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).shutdowner-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.Shutdowner"} -{"level":"info","ts":1708489392.0871959,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).dotGraph-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.DotGraph"} -{"level":"info","ts":1708489392.087232,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","kind":"provide"} -{"level":"info","ts":1708489392.087244,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/logger.New()","kind":"provide"} -{"level":"info","ts":1708489392.087254,"caller":"fxevent/zap.go:51","msg":"initialized custom fxevent.Logger","function":"github.com/STommydx/FolioForge/logger.glob..func1()"} -{"level":"info","ts":1708489392.087269,"caller":"fxevent/zap.go:51","msg":"invoking","function":"github.com/STommydx/FolioForge/http.runHttpServer()"} -{"level":"info","ts":1708489392.08729,"caller":"fxevent/zap.go:51","msg":"run","name":"go.uber.org/fx.New.func1()","kind":"provide"} -{"level":"info","ts":1708489392.11935,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/db.NewPostgresDB()","kind":"provide"} -{"level":"info","ts":1708489392.119421,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/healthz.NewHealthzService()","kind":"provide"} -{"level":"info","ts":1708489392.119467,"caller":"fxevent/zap.go:51","msg":"run","name":"fx.Annotate(github.com/STommydx/FolioForge/healthz.NewHealthzController(), fx.ResultTags([\"group:\\\"controllerRoutes\\\"\"]), fx.As([[http.ControllerRoute]])","kind":"provide"} -{"level":"info","ts":1708489392.119515,"caller":"http/router.go:37","msg":"registering controller route","pattern":"/healthz"} -{"level":"info","ts":1708489392.119555,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/http.NewRouter()","kind":"provide"} -{"level":"info","ts":1708489392.1195772,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/http.newHttp()","kind":"provide"} -{"level":"info","ts":1708489392.119776,"caller":"fxevent/zap.go:51","msg":"OnStart hook executing","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func1()","caller":"github.com/STommydx/FolioForge/http.runHttpServer"} -{"level":"info","ts":1708489392.1197991,"caller":"fxevent/zap.go:51","msg":"OnStart hook executed","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func1()","caller":"github.com/STommydx/FolioForge/http.runHttpServer","runtime":"2.458µs"} -{"level":"info","ts":1708489392.119921,"caller":"fxevent/zap.go:51","msg":"started"} -{"level":"info","ts":1708489399.035619,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/healthz","status":200,"method":"GET","path":"/v1/healthz","query":"","ip":"::1","user-agent":"curl/8.4.0","latency":0.0161065,"time":"2024-02-21T04:23:19Z"} -{"level":"info","ts":1708489400.893193,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/healthz","status":200,"method":"GET","path":"/v1/healthz","query":"","ip":"::1","user-agent":"curl/8.4.0","latency":0.002247167,"time":"2024-02-21T04:23:20Z"} -{"level":"info","ts":1708489404.205169,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/healthz","status":200,"method":"GET","path":"/v1/healthz","query":"","ip":"::1","user-agent":"curl/8.4.0","latency":0.002127417,"time":"2024-02-21T04:23:24Z"} -{"level":"info","ts":1708489491.4547698,"caller":"fxevent/zap.go:51","msg":"received signal","signal":"INTERRUPT"} -{"level":"info","ts":1708489491.468346,"caller":"fxevent/zap.go:51","msg":"OnStop hook executing","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func2()","caller":"github.com/STommydx/FolioForge/http.runHttpServer"} -{"level":"info","ts":1708489491.471767,"caller":"fxevent/zap.go:51","msg":"OnStop hook executed","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func2()","caller":"github.com/STommydx/FolioForge/http.runHttpServer","runtime":"3.116791ms"} -{"level":"info","ts":1708489494.503248,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*db.Config"} -{"level":"info","ts":1708489494.5035799,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.Config"} -{"level":"info","ts":1708489494.503694,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Config"} -{"level":"info","ts":1708489494.503736,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.New()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*zap.SugaredLogger"} -{"level":"info","ts":1708489494.503766,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.NewGormLogger()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.GormLogger"} -{"level":"info","ts":1708489494.503789,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.newHttp()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Server"} -{"level":"info","ts":1708489494.503808,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.NewRouter()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gin.Engine"} -{"level":"info","ts":1708489494.503835,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"fx.Annotate(github.com/STommydx/FolioForge/healthz.NewHealthzController(), fx.ResultTags([\"group:\\\"controllerRoutes\\\"\"]), fx.As([[http.ControllerRoute]])","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"http.ControllerRoute[group = \"controllerRoutes\"]"} -{"level":"info","ts":1708489494.5038579,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/healthz.NewHealthzService()","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*healthz.HealthzService"} -{"level":"info","ts":1708489494.503875,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/db.NewPostgresDB()","stacktrace":["github.com/STommydx/FolioForge/db.init (/Users/stommydx/git/FolioForge/db/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/db.init (/Users/stommydx/git/FolioForge/db/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gorm.DB"} -{"level":"info","ts":1708489494.503892,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.New.func1()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.Lifecycle"} -{"level":"info","ts":1708489494.503938,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).shutdowner-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.Shutdowner"} -{"level":"info","ts":1708489494.503982,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).dotGraph-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.DotGraph"} -{"level":"info","ts":1708489494.5040152,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","kind":"provide"} -{"level":"info","ts":1708489494.504029,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/logger.New()","kind":"provide"} -{"level":"info","ts":1708489494.5040388,"caller":"fxevent/zap.go:51","msg":"initialized custom fxevent.Logger","function":"github.com/STommydx/FolioForge/logger.glob..func1()"} -{"level":"info","ts":1708489494.504054,"caller":"fxevent/zap.go:51","msg":"invoking","function":"github.com/STommydx/FolioForge/http.runHttpServer()"} -{"level":"info","ts":1708489494.504074,"caller":"fxevent/zap.go:51","msg":"run","name":"go.uber.org/fx.New.func1()","kind":"provide"} -{"level":"info","ts":1708489494.534515,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/db.NewPostgresDB()","kind":"provide"} -{"level":"info","ts":1708489494.534584,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/healthz.NewHealthzService()","kind":"provide"} -{"level":"info","ts":1708489494.5346189,"caller":"fxevent/zap.go:51","msg":"run","name":"fx.Annotate(github.com/STommydx/FolioForge/healthz.NewHealthzController(), fx.ResultTags([\"group:\\\"controllerRoutes\\\"\"]), fx.As([[http.ControllerRoute]])","kind":"provide"} -{"level":"info","ts":1708489494.5346649,"caller":"http/router.go:37","msg":"registering controller route","pattern":"/healthz"} -{"level":"info","ts":1708489494.534703,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/http.NewRouter()","kind":"provide"} -{"level":"info","ts":1708489494.534719,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/http.newHttp()","kind":"provide"} -{"level":"info","ts":1708489494.534831,"caller":"fxevent/zap.go:51","msg":"OnStart hook executing","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func1()","caller":"github.com/STommydx/FolioForge/http.runHttpServer"} -{"level":"info","ts":1708489494.5348449,"caller":"fxevent/zap.go:51","msg":"OnStart hook executed","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func1()","caller":"github.com/STommydx/FolioForge/http.runHttpServer","runtime":"2.833µs"} -{"level":"info","ts":1708489494.53492,"caller":"fxevent/zap.go:51","msg":"started"} -{"level":"info","ts":1708489498.479261,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/healthz","status":200,"method":"GET","path":"/v1/healthz","query":"","ip":"::1","user-agent":"curl/8.4.0","latency":0.005269291,"time":"2024-02-21T04:24:58Z"} -{"level":"info","ts":1708489501.424256,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/healthz","status":200,"method":"GET","path":"/v1/healthz","query":"","ip":"::1","user-agent":"curl/8.4.0","latency":0.0029835,"time":"2024-02-21T04:25:01Z"} -{"level":"info","ts":1708489502.484071,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/healthz","status":200,"method":"GET","path":"/v1/healthz","query":"","ip":"::1","user-agent":"curl/8.4.0","latency":0.002441333,"time":"2024-02-21T04:25:02Z"} -{"level":"info","ts":1708489503.829837,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/healthz","status":200,"method":"GET","path":"/v1/healthz","query":"","ip":"::1","user-agent":"curl/8.4.0","latency":0.002062667,"time":"2024-02-21T04:25:03Z"} -{"level":"info","ts":1708489505.42128,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/healthz","status":200,"method":"GET","path":"/v1/healthz","query":"","ip":"::1","user-agent":"curl/8.4.0","latency":0.002801292,"time":"2024-02-21T04:25:05Z"} -{"level":"info","ts":1708489507.1256151,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/healthz","status":200,"method":"GET","path":"/v1/healthz","query":"","ip":"::1","user-agent":"curl/8.4.0","latency":0.002332625,"time":"2024-02-21T04:25:07Z"} -{"level":"info","ts":1708492496.881296,"caller":"fxevent/zap.go:51","msg":"received signal","signal":"INTERRUPT"} -{"level":"info","ts":1708492496.894308,"caller":"fxevent/zap.go:51","msg":"OnStop hook executing","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func2()","caller":"github.com/STommydx/FolioForge/http.runHttpServer"} -{"level":"info","ts":1708492496.897559,"caller":"fxevent/zap.go:51","msg":"OnStop hook executed","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func2()","caller":"github.com/STommydx/FolioForge/http.runHttpServer","runtime":"3.008667ms"} -{"level":"info","ts":1708492499.985556,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*db.Config"} -{"level":"info","ts":1708492499.985922,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.Config"} -{"level":"info","ts":1708492499.986022,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Config"} -{"level":"info","ts":1708492499.98607,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.New()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*zap.SugaredLogger"} -{"level":"info","ts":1708492499.9861062,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.NewGormLogger()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.GormLogger"} -{"level":"info","ts":1708492499.9861288,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.newHttp()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Server"} -{"level":"info","ts":1708492499.986151,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.NewRouter()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gin.Engine"} -{"level":"info","ts":1708492499.986191,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"fx.Annotate(github.com/STommydx/FolioForge/healthz.NewHealthzController(), fx.ResultTags([\"group:\\\"controllerRoutes\\\"\"]), fx.As([[http.ControllerRoute]])","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"http.ControllerRoute[group = \"controllerRoutes\"]"} -{"level":"info","ts":1708492499.9862132,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/healthz.NewHealthzService()","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*healthz.HealthzService"} -{"level":"info","ts":1708492499.986233,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/db.NewPostgresDB()","stacktrace":["github.com/STommydx/FolioForge/db.init (/Users/stommydx/git/FolioForge/db/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/db.init (/Users/stommydx/git/FolioForge/db/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gorm.DB"} -{"level":"info","ts":1708492499.986252,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.New.func1()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.Lifecycle"} -{"level":"info","ts":1708492499.9862962,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).shutdowner-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.Shutdowner"} -{"level":"info","ts":1708492499.98633,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).dotGraph-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.DotGraph"} -{"level":"info","ts":1708492499.986379,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","kind":"provide"} -{"level":"info","ts":1708492499.986398,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/logger.New()","kind":"provide"} -{"level":"info","ts":1708492499.98641,"caller":"fxevent/zap.go:51","msg":"initialized custom fxevent.Logger","function":"github.com/STommydx/FolioForge/logger.glob..func1()"} -{"level":"info","ts":1708492499.986426,"caller":"fxevent/zap.go:51","msg":"invoking","function":"github.com/STommydx/FolioForge/http.runHttpServer()"} -{"level":"info","ts":1708492499.986445,"caller":"fxevent/zap.go:51","msg":"run","name":"go.uber.org/fx.New.func1()","kind":"provide"} -{"level":"info","ts":1708492500.017558,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/db.NewPostgresDB()","kind":"provide"} -{"level":"info","ts":1708492500.017633,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/healthz.NewHealthzService()","kind":"provide"} -{"level":"info","ts":1708492500.0176792,"caller":"fxevent/zap.go:51","msg":"run","name":"fx.Annotate(github.com/STommydx/FolioForge/healthz.NewHealthzController(), fx.ResultTags([\"group:\\\"controllerRoutes\\\"\"]), fx.As([[http.ControllerRoute]])","kind":"provide"} -{"level":"info","ts":1708492500.0177522,"caller":"http/router.go:45","msg":"registering controller route","pattern":"/healthz"} -{"level":"info","ts":1708492500.017807,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/http.NewRouter()","kind":"provide"} -{"level":"info","ts":1708492500.017826,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/http.newHttp()","kind":"provide"} -{"level":"info","ts":1708492500.018038,"caller":"fxevent/zap.go:51","msg":"OnStart hook executing","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func1()","caller":"github.com/STommydx/FolioForge/http.runHttpServer"} -{"level":"info","ts":1708492500.018056,"caller":"fxevent/zap.go:51","msg":"OnStart hook executed","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func1()","caller":"github.com/STommydx/FolioForge/http.runHttpServer","runtime":"2.917µs"} -{"level":"info","ts":1708492500.0181708,"caller":"fxevent/zap.go:51","msg":"started"} -{"level":"info","ts":1708492515.357427,"caller":"zap@v0.2.0/zap.go:91","msg":"/docs/index.html","status":404,"method":"GET","path":"/docs/index.html","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0","latency":0.00000575,"time":"2024-02-21T05:15:15Z"} -{"level":"info","ts":1708492515.407965,"caller":"zap@v0.2.0/zap.go:91","msg":"/favicon.ico","status":404,"method":"GET","path":"/favicon.ico","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0","latency":0.000000917,"time":"2024-02-21T05:15:15Z"} -{"level":"info","ts":1708492524.734293,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/docs/index.html","status":404,"method":"GET","path":"/v1/docs/index.html","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0","latency":0.000006458,"time":"2024-02-21T05:15:24Z"} -{"level":"info","ts":1708492563.9336839,"caller":"fxevent/zap.go:51","msg":"received signal","signal":"INTERRUPT"} -{"level":"info","ts":1708492563.934162,"caller":"fxevent/zap.go:51","msg":"OnStop hook executing","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func2()","caller":"github.com/STommydx/FolioForge/http.runHttpServer"} -{"level":"info","ts":1708492563.935443,"caller":"fxevent/zap.go:51","msg":"OnStop hook executed","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func2()","caller":"github.com/STommydx/FolioForge/http.runHttpServer","runtime":"134.292µs"} -{"level":"info","ts":1708492567.664379,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*db.Config"} -{"level":"info","ts":1708492567.664934,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.Config"} -{"level":"info","ts":1708492567.665459,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Config"} -{"level":"info","ts":1708492567.665557,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.New()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*zap.SugaredLogger"} -{"level":"info","ts":1708492567.665597,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.NewGormLogger()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.GormLogger"} -{"level":"info","ts":1708492567.6656268,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.newHttp()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Server"} -{"level":"info","ts":1708492567.665676,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.NewRouter()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gin.Engine"} -{"level":"error","ts":1708492567.66571,"caller":"fxevent/zap.go:59","msg":"error encountered while applying options","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:9)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:9)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"error":"fx.Provide(fx.Annotate(, fx.ResultTags([\"group:\\\"handlerRoutes\\\"\"]), fx.As([[http.HandlerRoute]])) from:\ngithub.com/STommydx/FolioForge/http.init\n\t/Users/stommydx/git/FolioForge/http/module.go:9\nruntime.doInit1\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740\nruntime.doInit\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707\nruntime.main\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249\nFailed: invalid fx.As: *http.SwaggerHandler does not implement http.HandlerRoute"} -{"level":"info","ts":1708492567.665787,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","kind":"provide"} -{"level":"info","ts":1708492567.665808,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/logger.New()","kind":"provide"} -{"level":"info","ts":1708492567.6658251,"caller":"fxevent/zap.go:51","msg":"initialized custom fxevent.Logger","function":"github.com/STommydx/FolioForge/logger.glob..func1()"} -{"level":"error","ts":1708492567.6658702,"caller":"fxevent/zap.go:59","msg":"start failed","error":"fx.Provide(fx.Annotate(, fx.ResultTags([\"group:\\\"handlerRoutes\\\"\"]), fx.As([[http.HandlerRoute]])) from:\ngithub.com/STommydx/FolioForge/http.init\n\t/Users/stommydx/git/FolioForge/http/module.go:9\nruntime.doInit1\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740\nruntime.doInit\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707\nruntime.main\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249\nFailed: invalid fx.As: *http.SwaggerHandler does not implement http.HandlerRoute"} -{"level":"info","ts":1708492700.3223538,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*db.Config"} -{"level":"info","ts":1708492700.323051,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.Config"} -{"level":"info","ts":1708492700.323251,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Config"} -{"level":"info","ts":1708492700.323303,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.New()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*zap.SugaredLogger"} -{"level":"info","ts":1708492700.323348,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.NewGormLogger()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.GormLogger"} -{"level":"info","ts":1708492700.323381,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.newHttp()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Server"} -{"level":"info","ts":1708492700.3234088,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.NewRouter()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gin.Engine"} -{"level":"info","ts":1708492700.323436,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"fx.Annotate(github.com/STommydx/FolioForge/http.NewSwaggerHandler(), fx.ResultTags([\"group:\\\"handlerRoutes\\\"\"]), fx.As([[http.HandlerRoute]])","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:9)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:9)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"http.HandlerRoute[group = \"handlerRoutes\"]"} -{"level":"info","ts":1708492700.323464,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"fx.Annotate(github.com/STommydx/FolioForge/healthz.NewHealthzController(), fx.ResultTags([\"group:\\\"controllerRoutes\\\"\"]), fx.As([[http.ControllerRoute]])","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"http.ControllerRoute[group = \"controllerRoutes\"]"} -{"level":"info","ts":1708492700.323492,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/healthz.NewHealthzService()","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*healthz.HealthzService"} -{"level":"info","ts":1708492700.323522,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/db.NewPostgresDB()","stacktrace":["github.com/STommydx/FolioForge/db.init (/Users/stommydx/git/FolioForge/db/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/db.init (/Users/stommydx/git/FolioForge/db/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gorm.DB"} -{"level":"info","ts":1708492700.3235478,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.New.func1()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.Lifecycle"} -{"level":"info","ts":1708492700.323586,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).shutdowner-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.Shutdowner"} -{"level":"info","ts":1708492700.323636,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).dotGraph-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.DotGraph"} -{"level":"info","ts":1708492700.323693,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","kind":"provide"} -{"level":"info","ts":1708492700.323713,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/logger.New()","kind":"provide"} -{"level":"info","ts":1708492700.323731,"caller":"fxevent/zap.go:51","msg":"initialized custom fxevent.Logger","function":"github.com/STommydx/FolioForge/logger.glob..func1()"} -{"level":"info","ts":1708492700.323756,"caller":"fxevent/zap.go:51","msg":"invoking","function":"github.com/STommydx/FolioForge/http.runHttpServer()"} -{"level":"info","ts":1708492700.323796,"caller":"fxevent/zap.go:51","msg":"run","name":"go.uber.org/fx.New.func1()","kind":"provide"} -{"level":"info","ts":1708492700.353754,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/db.NewPostgresDB()","kind":"provide"} -{"level":"info","ts":1708492700.353855,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/healthz.NewHealthzService()","kind":"provide"} -{"level":"info","ts":1708492700.353906,"caller":"fxevent/zap.go:51","msg":"run","name":"fx.Annotate(github.com/STommydx/FolioForge/healthz.NewHealthzController(), fx.ResultTags([\"group:\\\"controllerRoutes\\\"\"]), fx.As([[http.ControllerRoute]])","kind":"provide"} -{"level":"info","ts":1708492700.3539479,"caller":"fxevent/zap.go:51","msg":"run","name":"fx.Annotate(github.com/STommydx/FolioForge/http.NewSwaggerHandler(), fx.ResultTags([\"group:\\\"handlerRoutes\\\"\"]), fx.As([[http.HandlerRoute]])","kind":"provide"} -{"level":"info","ts":1708492700.353994,"caller":"http/router.go:45","msg":"registering controller route","pattern":"/healthz"} -{"level":"info","ts":1708492700.354094,"caller":"http/router.go:54","msg":"registering handler route","pattern":"/docs/*any"} -{"level":"info","ts":1708492700.354125,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/http.NewRouter()","kind":"provide"} -{"level":"info","ts":1708492700.354149,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/http.newHttp()","kind":"provide"} -{"level":"info","ts":1708492700.354312,"caller":"fxevent/zap.go:51","msg":"OnStart hook executing","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func1()","caller":"github.com/STommydx/FolioForge/http.runHttpServer"} -{"level":"info","ts":1708492700.354348,"caller":"fxevent/zap.go:51","msg":"OnStart hook executed","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func1()","caller":"github.com/STommydx/FolioForge/http.runHttpServer","runtime":"6.042µs"} -{"level":"info","ts":1708492700.354468,"caller":"fxevent/zap.go:51","msg":"started"} -{"level":"info","ts":1708492705.5889862,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/docs/index.html","status":404,"method":"GET","path":"/v1/docs/index.html","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0","latency":0.000097709,"time":"2024-02-21T05:18:25Z"} -{"level":"info","ts":1708492707.004836,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/docs/index.html","status":404,"method":"GET","path":"/v1/docs/index.html","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0","latency":0.000000625,"time":"2024-02-21T05:18:27Z"} -{"level":"info","ts":1708492711.2486908,"caller":"zap@v0.2.0/zap.go:91","msg":"/docs/index.html","status":404,"method":"GET","path":"/docs/index.html","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0","latency":0.000066708,"time":"2024-02-21T05:18:31Z"} -{"level":"info","ts":1708492727.6656482,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/docs","status":404,"method":"GET","path":"/v1/docs","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0","latency":0.000000875,"time":"2024-02-21T05:18:47Z"} -{"level":"info","ts":1708492735.702345,"caller":"zap@v0.2.0/zap.go:91","msg":"/docs/","status":404,"method":"GET","path":"/docs/","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0","latency":0.000025125,"time":"2024-02-21T05:18:55Z"} -{"level":"info","ts":1708493260.719074,"caller":"fxevent/zap.go:51","msg":"received signal","signal":"INTERRUPT"} -{"level":"info","ts":1708493260.7284732,"caller":"fxevent/zap.go:51","msg":"OnStop hook executing","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func2()","caller":"github.com/STommydx/FolioForge/http.runHttpServer"} -{"level":"info","ts":1708493260.731168,"caller":"fxevent/zap.go:51","msg":"OnStop hook executed","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func2()","caller":"github.com/STommydx/FolioForge/http.runHttpServer","runtime":"2.509958ms"} -{"level":"info","ts":1708493264.81866,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*db.Config"} -{"level":"info","ts":1708493264.818998,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.Config"} -{"level":"info","ts":1708493264.819167,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Config"} -{"level":"info","ts":1708493264.819217,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.New()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*zap.SugaredLogger"} -{"level":"info","ts":1708493264.819243,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.NewGormLogger()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.GormLogger"} -{"level":"info","ts":1708493264.819262,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.newHttp()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Server"} -{"level":"info","ts":1708493264.8192809,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.NewRouter()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gin.Engine"} -{"level":"error","ts":1708493264.819298,"caller":"fxevent/zap.go:59","msg":"error encountered while applying options","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:9)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:9)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"error":"fx.Provide(fx.Annotate(, fx.ResultTags([\"group:\\\"handlerRoutes\\\"\"]), fx.As([[http.HandlerRoute]])) from:\ngithub.com/STommydx/FolioForge/http.init\n\t/Users/stommydx/git/FolioForge/http/module.go:9\nruntime.doInit1\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740\nruntime.doInit\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707\nruntime.main\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249\nFailed: invalid fx.As: *http.SwaggerHandler does not implement http.HandlerRoute"} -{"level":"info","ts":1708493264.8193321,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","kind":"provide"} -{"level":"info","ts":1708493264.819356,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/logger.New()","kind":"provide"} -{"level":"info","ts":1708493264.819369,"caller":"fxevent/zap.go:51","msg":"initialized custom fxevent.Logger","function":"github.com/STommydx/FolioForge/logger.glob..func1()"} -{"level":"error","ts":1708493264.8193989,"caller":"fxevent/zap.go:59","msg":"start failed","error":"fx.Provide(fx.Annotate(, fx.ResultTags([\"group:\\\"handlerRoutes\\\"\"]), fx.As([[http.HandlerRoute]])) from:\ngithub.com/STommydx/FolioForge/http.init\n\t/Users/stommydx/git/FolioForge/http/module.go:9\nruntime.doInit1\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740\nruntime.doInit\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707\nruntime.main\n\t/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249\nFailed: invalid fx.As: *http.SwaggerHandler does not implement http.HandlerRoute"} -{"level":"info","ts":1708493289.812371,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*db.Config"} -{"level":"info","ts":1708493289.81317,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.Config"} -{"level":"info","ts":1708493289.813362,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","stacktrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)","main.main (/Users/stommydx/git/FolioForge/main.go:6)"],"moduletrace":["github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:14)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Config"} -{"level":"info","ts":1708493289.81344,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.New()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:47)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*zap.SugaredLogger"} -{"level":"info","ts":1708493289.813468,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/logger.NewGormLogger()","stacktrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/logger.init (/Users/stommydx/git/FolioForge/logger/logger.go:48)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*logger.GormLogger"} -{"level":"info","ts":1708493289.813489,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.newHttp()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.Server"} -{"level":"info","ts":1708493289.8135092,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.NewRouter()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:8)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gin.Engine"} -{"level":"info","ts":1708493289.813529,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/http.NewSwaggerHandler()","stacktrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:9)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/http.init (/Users/stommydx/git/FolioForge/http/module.go:9)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*http.SwaggerHandler"} -{"level":"info","ts":1708493289.813549,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"fx.Annotate(github.com/STommydx/FolioForge/healthz.NewHealthzController(), fx.ResultTags([\"group:\\\"controllerRoutes\\\"\"]), fx.As([[http.ControllerRoute]])","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:9)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"http.ControllerRoute[group = \"controllerRoutes\"]"} -{"level":"info","ts":1708493289.813569,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/healthz.NewHealthzService()","stacktrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/healthz.init (/Users/stommydx/git/FolioForge/healthz/module.go:10)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*healthz.HealthzService"} -{"level":"info","ts":1708493289.813588,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"github.com/STommydx/FolioForge/db.NewPostgresDB()","stacktrace":["github.com/STommydx/FolioForge/db.init (/Users/stommydx/git/FolioForge/db/module.go:6)","runtime.doInit1 (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6740)","runtime.doInit (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:6707)","runtime.main (/opt/homebrew/Cellar/go/1.21.5/libexec/src/runtime/proc.go:249)"],"moduletrace":["github.com/STommydx/FolioForge/db.init (/Users/stommydx/git/FolioForge/db/module.go:6)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"*gorm.DB"} -{"level":"info","ts":1708493289.813609,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.New.func1()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.Lifecycle"} -{"level":"info","ts":1708493289.8136508,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).shutdowner-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.Shutdowner"} -{"level":"info","ts":1708493289.813708,"caller":"fxevent/zap.go:51","msg":"provided","constructor":"go.uber.org/fx.(*App).dotGraph-fm()","stacktrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)","github.com/STommydx/FolioForge/cmd.glob..func1 (/Users/stommydx/git/FolioForge/cmd/serve.go:13)","github.com/spf13/cobra.(*Command).execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987)","github.com/spf13/cobra.(*Command).ExecuteC (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115)","github.com/spf13/cobra.(*Command).Execute (/Users/stommydx/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039)","github.com/STommydx/FolioForge/cmd.Execute (/Users/stommydx/git/FolioForge/cmd/root.go:16)"],"moduletrace":["go.uber.org/fx.New (/Users/stommydx/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:476)","github.com/STommydx/FolioForge/app.New (/Users/stommydx/git/FolioForge/app/app.go:13)"],"type":"fx.DotGraph"} -{"level":"info","ts":1708493289.813774,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/config.NewAppConfigFromEnv()","kind":"provide"} -{"level":"info","ts":1708493289.813793,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/logger.New()","kind":"provide"} -{"level":"info","ts":1708493289.8138108,"caller":"fxevent/zap.go:51","msg":"initialized custom fxevent.Logger","function":"github.com/STommydx/FolioForge/logger.glob..func1()"} -{"level":"info","ts":1708493289.813835,"caller":"fxevent/zap.go:51","msg":"invoking","function":"github.com/STommydx/FolioForge/http.runHttpServer()"} -{"level":"info","ts":1708493289.813866,"caller":"fxevent/zap.go:51","msg":"run","name":"go.uber.org/fx.New.func1()","kind":"provide"} -{"level":"info","ts":1708493289.855862,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/db.NewPostgresDB()","kind":"provide"} -{"level":"info","ts":1708493289.855961,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/healthz.NewHealthzService()","kind":"provide"} -{"level":"info","ts":1708493289.856012,"caller":"fxevent/zap.go:51","msg":"run","name":"fx.Annotate(github.com/STommydx/FolioForge/healthz.NewHealthzController(), fx.ResultTags([\"group:\\\"controllerRoutes\\\"\"]), fx.As([[http.ControllerRoute]])","kind":"provide"} -{"level":"info","ts":1708493289.856048,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/http.NewSwaggerHandler()","kind":"provide"} -{"level":"info","ts":1708493289.856106,"caller":"http/router.go:46","msg":"registering controller route","pattern":"/healthz"} -{"level":"info","ts":1708493289.8562229,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/http.NewRouter()","kind":"provide"} -{"level":"info","ts":1708493289.8562481,"caller":"fxevent/zap.go:51","msg":"run","name":"github.com/STommydx/FolioForge/http.newHttp()","kind":"provide"} -{"level":"info","ts":1708493289.856513,"caller":"fxevent/zap.go:51","msg":"OnStart hook executing","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func1()","caller":"github.com/STommydx/FolioForge/http.runHttpServer"} -{"level":"info","ts":1708493289.856533,"caller":"fxevent/zap.go:51","msg":"OnStart hook executed","callee":"github.com/STommydx/FolioForge/http.runHttpServer.func1()","caller":"github.com/STommydx/FolioForge/http.runHttpServer","runtime":"3.083µs"} -{"level":"info","ts":1708493289.8566332,"caller":"fxevent/zap.go:51","msg":"started"} -{"level":"info","ts":1708493317.67696,"caller":"zap@v0.2.0/zap.go:91","msg":"/docs/index.html","status":404,"method":"GET","path":"/docs/index.html","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0","latency":0.000004083,"time":"2024-02-21T05:28:37Z"} -{"level":"info","ts":1708493320.7275672,"caller":"zap@v0.2.0/zap.go:91","msg":"/docs/index.html","status":404,"method":"GET","path":"/docs/index.html","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0","latency":0.000002417,"time":"2024-02-21T05:28:40Z"} -{"level":"info","ts":1708493325.611768,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/docs/index.html","status":200,"method":"GET","path":"/v1/docs/index.html","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0","latency":0.000659417,"time":"2024-02-21T05:28:45Z"} -{"level":"info","ts":1708493325.64756,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/docs/swagger-ui-standalone-preset.js","status":200,"method":"GET","path":"/v1/docs/swagger-ui-standalone-preset.js","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0","latency":0.003028292,"time":"2024-02-21T05:28:45Z"} -{"level":"info","ts":1708493325.6477308,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/docs/swagger-ui-bundle.js","status":200,"method":"GET","path":"/v1/docs/swagger-ui-bundle.js","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0","latency":0.002880875,"time":"2024-02-21T05:28:45Z"} -{"level":"info","ts":1708493325.6476002,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/docs/swagger-ui.css","status":200,"method":"GET","path":"/v1/docs/swagger-ui.css","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0","latency":0.0033895,"time":"2024-02-21T05:28:45Z"} -{"level":"info","ts":1708493325.7230852,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/docs/favicon-16x16.png","status":200,"method":"GET","path":"/v1/docs/favicon-16x16.png","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0","latency":0.000043208,"time":"2024-02-21T05:28:45Z"} -{"level":"info","ts":1708493325.7349749,"caller":"zap@v0.2.0/zap.go:91","msg":"/v1/docs/doc.json","status":200,"method":"GET","path":"/v1/docs/doc.json","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0","latency":0.000528625,"time":"2024-02-21T05:28:45Z"}