Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rabbitmq libraries failed #1602

Open
roman-yerin opened this issue Dec 26, 2023 · 0 comments
Open

Rabbitmq libraries failed #1602

roman-yerin opened this issue Dec 26, 2023 · 0 comments

Comments

@roman-yerin
Copy link

roman-yerin commented Dec 26, 2023

The following traefik plugin sample.go triggers an unexpected result

package plugin
import(
  amqp "github.com/rabbitmq/amqp091-go"
)

Expected result

I expect the traefik plugin will load

Got

The plugin failed to load with the following import error

amqp091-go/channel.go:425:18: cannot use type func(amqp091.frame) as type func(*struct {},amqp091.frame)

Yaegi Version

0.15.1

Additional Notes

Even if fix this import error changing the library code (which is flawlessly works natively), the yaegi fails in many other places.
This one https://github.com/Azure/go-amqp doesn't work either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant