traefik / yaegi

Yaegi is Another Elegant Go Interpreter
https://pkg.go.dev/github.com/traefik/yaegi
Apache License 2.0
6.94k stars 343 forks source link

github.com/mediocregopher/radix/v3 doesn't work with yaegi #1482

Closed VladyslavLukyanenko closed 1 year ago

VladyslavLukyanenko commented 1 year ago

The following program sample.go triggers an unexpected result

package main

import "github.com/mediocregopher/radix/v3"

func main() {
    _ = radix.Pool{}

}

Expected result

Everything should work

Got

traefik-traefik-1 | 2022/10/22 20:00:54 traefik.go:80: command traefik error: github.com/darkweak/souin: failed to import plugin code "github.com/darkweak/souin/plugins/traefik": 1:21: import "github.com/darkweak/souin/plugins/traefik" error: plugins-local/src/github.com/darkweak/souin/plugins/traefik/base.go:15:2: import "github.com/darkweak/souin/cache/providers" error: plugins-local/src/github.com/darkweak/souin/plugins/traefik/vendor/github.com/darkweak/souin/cache/providers/redisProvider.go:5:2: import "github.com/mediocregopher/radix/v3" error: plugins-local/src/github.com/darkweak/souin/plugins/traefik/vendor/github.com/mediocregopher/radix/v3/pipeliner.go:248:10: impossible type assertion: *radix.pipelinerCmd does not implement radix.CmdAction (missing Keys method)

Yaegi Version

latest

Additional Notes

No response