You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm very grateful that I usually use gin to create web services.
However, I felt that LoadHTMLGlob is a slightly bad implementation.
When loading a nested HTML file with LoadHTMLGlob, you must define it in the tmpl file.
If you implement the following implementation, how do you think HTML can be called immediately?
I think that it is impossible to load nested HTML without using define.
I hope to solve this problem somewhat.
Just for myself and the world front end, we often deal with React and Vue etc, and I think that the priority is not so high as there are few use cases for loading nested views with LoadHTMLGlob.
I'm very grateful that I usually use gin to create web services.
However, I felt that LoadHTMLGlob is a slightly bad implementation.
When loading a nested HTML file with LoadHTMLGlob, you must define it in the tmpl file.
If you implement the following implementation, how do you think HTML can be called immediately?
gin
User write main.go
What I'd like to say is not to make gin.Run possible, but I also want LoadHTMLGlob to be able to read HTML files in deep Directory.
Thanks.
The text was updated successfully, but these errors were encountered: