danielhookx / eventbus

Lightweight eventbus with Cross-process and async compatibility for Go.
Apache License 2.0
10 stars 2 forks source link

[Bug]: p.Register undefined (type *fission.Distributor has no field or method Register) #4

Open tiansin opened 3 months ago

tiansin commented 3 months ago

Observed behavior

https://github.com/danielhookx/eventbus/blob/6bc196392845b38db370407054b17e13483ffb20/bus.go#L76

Expected behavior

https://github.com/danielhookx/eventbus/blob/6bc196392845b38db370407054b17e13483ffb20/bus.go#L76

Host environment

No response

danielhookx commented 2 months ago

Thank you for reporting this issue. Could you provide more complete context information, including:

  1. Code for initializing the instance
  2. Full printout of the error context
tiansin commented 3 weeks ago

@danielhookx Updating the library github.com/danielhookx/fission from v0.1.0 to v1.0.0 causes this issue, while using v0.1.0 works without any problems.