Skip to content

Instantly share code, notes, and snippets.

@rl4debug
Created August 26, 2020 12:33
Show Gist options
  • Save rl4debug/dc3a94ee59348ec3b7e89eeddba6fc3d to your computer and use it in GitHub Desktop.
Save rl4debug/dc3a94ee59348ec3b7e89eeddba6fc3d to your computer and use it in GitHub Desktop.
[wire error message explaining] #wire
Warning: /Users/lap00828/projects/ops-delivery/lastmile/driverbee/location_query_lazy.go:16:6: using struct literal to inject github.com/tikivn/ops-delivery/lastmile/driverbee.LocationQueryLazy is deprecated and will be removed in the next release; use wire.Struct instead, see https://godoc.org/github.com/google/wire#Struct for more information.
Warning: /Users/lap00828/projects/ops-delivery/internal/infra/app/app.go:39:6: using struct literal to inject github.com/tikivn/ops-delivery/internal/infra/app.ApplicationContext is deprecated and will be removed in the next release; use wire.Struct instead, see https://godoc.org/github.com/google/wire#Struct for more information.
wire: /Users/lap00828/projects/ops-delivery/internal/infra/infra.go:37:22: cycle for github.com/looplab/eventhorizon.CommandHandler:
	github.com/looplab/eventhorizon.CommandHandler (github.com/tikivn/ops-delivery/internal/infra.ProvideCommandBus) ->
	github.com/tikivn/ops-delivery/internal/infra.MasterboxHandler (github.com/tikivn/ops-delivery/internal/infra.ProvideMasterboxHandler) ->
	github.com/tikivn/ops-delivery/request/box.Service (github.com/tikivn/ops-delivery/internal/infra.ProvideBoxService) ->
	github.com/looplab/eventhorizon.CommandHandler
wire: github.com/tikivn/ops-delivery/internal/infra/app: generate failed
wire: at least one generate failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment