Isn’t that equivalent to saying “just use NGINX”? Caddy isn’t a library you use in your Go server code, it’s a separate reverse proxy, isn’t it? They solve separate things.
import "github.com/mholt/caddy"
https://medium.com/backendarmy/embedding-a-web-server-in-go-...
Not sure if it's still the case.