Re:The Simplicity of Single-File Golang Deployments
by acatton on Thursday March 23, 2023 @03:44PM
(#35280278)
Sorry to reply a day later. GP here, it's a simple separation of concern. IMHO the binary should not be aware that it is cached and/or how it's deployed. I separate "business logic" from "devops", and I consider purging the cache to be "devops". This is why I let systemd do it.
Of course, at the end it's a question of preference. People might disagree.
Of course, at the end it's a question of preference. People might disagree.