Hacker News new | ask | show | jobs
by TripleChecker 631 days ago
interesting idea, can it be used with Gin or any other Go web framework - or is that not just the html templating library but a framework on its own?

There were a few typos in the docs page: https://triplechecker.com/s/D32t6y/htmgo.dev?v=HrUfl

1 comments

Ah good call, I should have checked for typos. Will fix, ty.

The routing uses the std lib + chi, it's fairly integrated into the html builder because the http request needs to be utilized to check specific htmx headers.

I could imagine you could use your own web framework though, since you can wrap the std lib handlers.

Also depending on popularity, I may make other adapters for different go web frameworks