go-bindata is no longer maintained as stated here: https://github.com/jteeuwen/go-bindata#warning
We should replace it with a maintained alternative like packr.
But maybe continue with https://github.com/go-bindata/go-bindata ?
I don't like packr build.
@lunny You don't need to run packr build, you could (like we do now with go-bindata) run packr followed by go build :|
And there is another maintained alternative: https://github.com/rakyll/statik
I would suggest fileb0x
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Arch Linux uses https://github.com/shuLhan/go-bindata
https://github.com/mjibson/esc is simple to use.
Esc doesn't support tags, tags are required for gitea.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Just found https://github.com/shurcooL/vfsgen, I think it maybe a better solution than others because it's a library and could be put in vendor and will resolve package dependency on building process. We can write a command with a special build flag which will only be run on build process.
@lunny I tested it a bit some time ago and it does looks quite good: https://github.com/lafriks/gitea-rewrite-experiment/tree/master/modules/template
I'm using filb0x so far for other projects which is working really good.