gogearbox / gearbox

Gearbox :gear: is a web framework written in Go with a focus on high performance
https://gogearbox.com
MIT License
758 stars 54 forks source link

Add a render method to the context interface. #121

Closed ghost closed 1 year ago

ghost commented 1 year ago

Please add an inbuilt way to render html files to a route. I suggest you add it to the context interface of the gearbox struct. The method itself should accept the address of the html file as the argument and render the page. It can also be used to edit the html file from within the go sever. I suggest this because I had a hard time rendering my html file on my web server I wrote with gearbox framework.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.