by Dwedit · 3y ago · 0 comments
<link rel="stylesheet" href="/static/style.css" type="text/css">
Well then...
In this case, the content served in response to the identifier "/static/style.css" can very easily (and according to the author, is) baked directly into the (single) binary.
Seriously, people should try doing a lot more inlining than they do.
It just uses go's built-in http.FileServer(..) to serve files from a directory.