First, please excuse me for asking here. https://community.traefik.io/c/yaegi seems a dead link and the community page doesn't have a yaegi section. Please close if inappropriate.
Background
I'd like to
a := "foo"
interp.Set("pkg.Vars.B", a)
instead of
interp.Eval("pkg.Vars.B := \"foo\"")
which requires individual handling per type. Set could follow Go's assignability rules.
Proposal
First, please excuse me for asking here. https://community.traefik.io/c/yaegi seems a dead link and the community page doesn't have a yaegi section. Please close if inappropriate.
Background
I'd like to
instead of
which requires individual handling per type.
Set
could follow Go's assignability rules.Workarounds
Use
Eval()