Closed tullo closed 4 years ago
What exactly are you trying to achieve? This is not a standalone app, rather it is meant to be used as a Caddy plugin as specified in the docs and Go modules is a requirement.
I just tried this with caddy v2.1.0 and I had no issues.
xcaddy build v2.1.0 \
--with github.com/abiosoft/caddy-json-schema
I will be closing this. If this is proven to be an issue, I'll re-open.
Okay, I'm not much into caddy plugins. I just expected to be able to at least do a plain go build - which failed. So I moved on.
GO111MODULE=off go get -u -v github.com/abiosoft/caddy-json-schema