Skip to content

Commit

Permalink
Fix provider path in comment
Browse files Browse the repository at this point in the history
This changes a comment that mentions a path where providers are
supposedly located. The path was wrong as providers are currently
configured in `app/providers/provider_index.go`.
  • Loading branch information
KevSlashNull committed Feb 13, 2022
1 parent 001e438 commit f840b85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/http/decorator/boot_providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

type bootProviders struct{}

// Bootstrap handles all bootProviders. Providers are located in config/providers/providers.go
// Bootstrap handles all bootProviders. Providers are configured in app/providers/provider_index.go
func (r bootProviders) Bootstrap(container inter.Container) inter.Container {
for _, bootstrapper := range providers.Providers.BootProviders {
container = bootstrapper.Boot(container)
Expand Down
2 changes: 1 addition & 1 deletion app/http/decorator/register_providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

type registerProviders struct{}

// Bootstrap handles all registerProviders. Providers are located in config/providers/providers.go
// Bootstrap handles all registerProviders. Providers are configured in app/providers/provider_index.go
func (r registerProviders) Bootstrap(container inter.Container) inter.Container {
for _, bootstrapper := range providers.Providers.RegisterProviders {
container = bootstrapper.Register(container)
Expand Down

0 comments on commit f840b85

Please sign in to comment.