Help building Caddy with a local plugin

That’s the correct way, and I believe it should work just fine locally as long as your plugin is properly defined as a module. There’s a bit of reading linked by Caddy’s developer here when Caddy was initially moving to go modules, I’m not sure if it’ll help.

Modules · golang/go Wiki · GitHub

1 Like