Replies: 1 comment
-
Hi, @abuffery Since I've already included statics in the binary, but that only works now for the backend on the built-in net/http package, Chi and HttpRouter. If you have time, you can help me implement the same for Fiber, Gin, and Echo web frameworks. I would be very happy to do so! Embedding HTML templates is a bit more complicated, as I mostly use Templ in my projects and am not very familiar with embedding regular templates in a binary. |
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
-
1. Overview:
The proposal involves extending the capabilities of the Gowebly default configuration file by adding settings to leverage 'fs.embed' for both templates and static files. This enhancement will enable users to seamlessly integrate embedded file systems into their projects, resulting in more efficient resource management and enhanced web application performance.
2. Key Features:
a. Template Integration:
b. Static File Integration:
c. Flexibility and Customization:
3. User Benefits:
4. Implementation Considerations:
5. Rollout Plan:
6. Conclusion:
The addition of 'fs.embed' integration to the default configuration file for Gowebly can represent a significant enhancement for users. This feature aligns Gowebly with modern web development options, offering users the power to optimize their projects for better performance and organization when embedding is the best option. This addition would help Gowebly to position itself as a versatile and user-friendly web development tool.
Beta Was this translation helpful? Give feedback.
All reactions