3 ms·
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 upda
by cytzol 4y 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.
- mftb 4y agoEasy 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.