Re:Go command support for embedded static assets (files)
by jhardy54 on Thursday July 23, 2020 @08:45PM
(#23934443)
Convenience. It's easier and more foolproof to give someone one file than it is to give them a directory.
[ Parent
| on HN ]
Re:Go command support for embedded static assets (files)
by mickaelkerjean on Thursday July 23, 2020 @10:03PM
(#23934924)
Yes! I can't count how many people have tried to use my software (https://github.com/mickael-kerjean/filestash), flushing some entire directories with docker volume and creating support tickets and emails as things got broken.
The landscape of tools supposed to solve that problem isn't great. Things are changing way too fast with projects being archived or deprecated with mention to migrate to another solution which after another year is deprecated again. Because of those issue, I've went with go generate which isn't ideal but is at least stable. That proposal would be a game changer and hopefully it will become a reality as Brad is quite a prominent figure in the Golang world.
Re:Go command support for embedded static assets (files)
by throwaway29103 on Friday July 24, 2020 @07:58AM
(#23938443)
Sorry... what do you mean by "flushing" (thanks)
BTW. Fantastic software, filestash - really really good.
Re:Go command support for embedded static assets (files)
by jhardy54 on Friday July 24, 2020 @04:16PM
(#23943961)
My guess: deleting.
Re:Go command support for embedded static assets (files)
by throwaway29103 on Saturday July 25, 2020 @08:45AM
(#23948783)
Thanks, first I thought... it cannot be, because when you delete the container, the named volumes are still there; but I guess that they might have deleted contents using the app itself, without realizing they were sharing the directory...
Re:Go command support for embedded static assets (files)
by jhardy54 on Saturday July 25, 2020 @01:36PM
(#23950963)
`docker system prune rm -af` ftw
Re:Go command support for embedded static assets (files)
by throwaway29103 on Monday July 27, 2020 @11:00AM
(#23965711)
Thanks, will this also remove the files in named volumes? I hope it won't! (Will not try :-D)