Is it possible to check via Go templates whether some url is reacheable?

I can’t find such function in documentation. I just want to be sure that URLs written in my data files are valid.

Did you try the getRemote function?
But I’m curious about what is the purpose for checking those URLs during the build stage, since it slows down the build performance, a timeout error will be thrown if there are a few broken links.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.