I’m trying to build Caddy following the instructions in the README in a clean environment with Go 1.12.4. This is the simplest, without plugins build in a clean environment, with a newly created user (no GOPATH set, nothing previously downloaded).
Thanks, this was helpful. I just learned about go mod tidy (I thought this was automatic but I guess not), so if you pin version 0c3d90ed21a4df1b5e75ff4d5f908fd3018f902c it should work now.
Indeed, that solved the issue. Going to test building with some plugins later to see what works and what doesn’t.
I was just binge-reading go help mod myself but it didn’t occurred to me to look at the tidy command, just poking around without thinking too much.