cd xrss && GOFLAGS='-tags="sqlite_json"' CGO_ENABLED=1 xcaddy build --with github.com/infogulch/caddy-xtemplate --with github.com/greenpau/caddy-security --with github.com/infogulch/xrss
2023/10/09 15:14:07 [INFO] exec (timeout=0s): /opt/homebrew/opt/go/libexec/bin/go get -d -v github.com/infogulch/caddy-xtemplate github.com/caddyserver/caddy/v2
go: github.com/infogulch/caddy-xtemplate@v0.0.0-20231007181448-f5f52f687e69 found: parsing go.mod:
module declares its path as: github.com/infogulch/xtemplate
but was required as: github.com/infogulch/caddy-xtemplate
go: github.com/infogulch/caddy-xtemplate@upgrade (v0.0.0-20231007181448-f5f52f687e69) requires github.com/infogulch/caddy-xtemplate@v0.0.0-20231007181448-f5f52f687e69: parsing go.mod:
module declares its path as: github.com/infogulch/xtemplate
but was required as: github.com/infogulch/caddy-xtemplate
2023/10/09 15:14:08 [FATAL] exit status 1
But does now run
./caddy run --config /Users/apple/workspace/go/src/github.com/gedw99/gio-htmx/exp/caddy/xrss/Caddyfile
2023/10/09 13:10:46.022 INFO using provided configuration {"config_file": "/Users/apple/workspace/go/src/github.com/gedw99/gio-htmx/exp/caddy/xrss/Caddyfile", "config_adapter": ""}
Error: adapting config using caddyfile: parsing caddyfile tokens for 'route': /Users/apple/workspace/go/src/github.com/gedw99/gio-htmx/exp/caddy/xrss/Caddyfile:22 - Error during parsing: unrecognized directive: xtemplate - are you sure your Caddyfile structure (nesting and braces) is correct?, import chain: ['']
make: *** [Makefile:18: xrss-run] Error 1
this compiles is I change the Module name for xtemplate.
But your readme way fails.
But does now run
I think the Caddy module name is wrong maybe ?