Hacker News new | ask | show | jobs
by cytzol 1181 days ago
Embedding your assets like this isn't always an improvement. For example, I work on a site with a Go server and static content pages, and I like that I can update one of the pages and see the change instantly without having to re-compile the entire server binary just to get the new files included.
1 comments

Easy enough to have the app check the regular file system first, then fallback to the embedded fs. You could have the best of both worlds.