3 ms·
That reminds me of caddy templates. Caddy templates cannot have untested code. I think go text templates can. When in doubt, treat templates as code that has ac
by benatkin 4y ago
That reminds me of caddy templates. Caddy templates cannot have untested code. I think go text templates can. When in doubt, treat templates as code that has access to private stuff. With caddy that includes files and environment variables.
I didn't get bitten by this because I read the docs, but I noticed how easy it would be to misconfigure.