yaegi
yaegi copied to clipboard
Rabbitmq libraries failed
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.