This repository has been archived by the owner on Feb 24, 2024. It is now read-only.
Using Embed instead of Packr #2129
paganotoni
started this conversation in
Ideas
Replies: 1 comment
-
I would welcome the migration from packr to embed. Regarding the efforts I cannot yet estimate the effort for it.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
One of the foundational libraries in Buffalo is Packr. Packr allows buffalo applications to embed assets and other runtime dependencies into the compiled binary and has become an important tool not only for apps powered by Buffalo but also by the libraries and tools that Buffalo depends on.
While Packr has provided the foundation for a lot of the things that Buffalo is capable of In Go 1.16 the Go team provided the Embed standard library, which is integrated to the Go tooling in a way that we just have to use some build tags and the rest is handled by the standard go tooling.
It seems like using the
embed
package is the right movement but wanted to put this out because the amount of work to solve this is not trivial and is worth reading comments and concerns of it. The areas I've thought this movement would imply are:Thoughts on this?
cc @gobuffalo/core-managers @markbates
Beta Was this translation helpful? Give feedback.
All reactions