Questions tagged [yaegi]

Yaegi is Another Elegant Go Interpreter. It powers executable Go scripts and plugins, in embedded interpreters or interactive shells, on top of the Go runtime.

Yaegi is Another Elegant Go Interpreter. It powers executable Go scripts and plugins, in embedded interpreters or interactive shells, on top of the Go runtime.

2 questions
1
vote
0 answers

CFG post-order panic: reflect: embedded type with methods not implemented if there is more than one field

I am trying to build a Traefik plugin in local mode based on https://github.com/traefik/plugindemo#local-mode In this plugin, I am trying to use a library https://github.com/vektah/gqlparser Without importing this library, the code runs well. As…
Hongbo Miao
  • 45,290
  • 60
  • 174
  • 267
0
votes
1 answer

traefik.go: command traefik error: failed to eval New: undefined: xxx

I am trying to build a Traefik plugin and test it in local mode based on https://github.com/traefik/plugindemo#local-mode Right now this plugin does nothing and just returns "Hello". Here is my file structure: In the…
Hongbo Miao
  • 45,290
  • 60
  • 174
  • 267