DEV Community

Discussion on: Plugin in Golang

Collapse
 
andreitelteu profile image
Andrei Telteu

I made a plugin system using this tutorial that allows any custom gofiber http handler to be attached from the plugin, if anyone is interested on a real-world example.
The conversion of types received from the plugin is the tricky part, but i got it working.
You can also see in this repo a local docker-compose setup with separate dockerfiles for the main program and the plugin, with air for rebuilding on save.
github.com/AndreiTelteu/hestia-go/...