jlelse’s Blog

Thoughts, stories and ideas

Tags: TIL

How a clever organization of Go structs can save memory

Published on in 👨‍💻 Dev

Sometimes I like to take a look at the commit history of various open source projects, applications I use myself or dependencies I use in my applications. Today I was scrolling through the commit history of chi, the HTTP router I use for my blog software.


TIL about vendoring Hugo modules

Published on in 💭 Thoughts

Today, I learned that it’s possible to “vendor” Hugo modules. By vendoring Hugo modules, Hugo will add all required module files to your site directory and use them when building your site instead of trying to download them first. No need for me to use a module cache on Drone anymore and two seconds less build time. (But 3000 additional files in my blog repo.) hugo mod vendor


Jan-Lukas Else