mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-02-01 22:47:40 +00:00
Yaegi wraps interpreted values per the declared return type, so sub-interface type assertions (Plugin -> AuthenticatedRouterPlugin) do not work. Work around this by having plugins export typed factory functions (NewAuthenticatedRouterPlugin, NewUnauthenticatedRouterPlugin) and loading them via LoadPluginFull.