Go Gin vs HttpRouter(Update)

Suprised!

I made an update on my tools.zh-code.com and observed something fun and interesting.

HttpRouter:

Gin:

I guess I need to test to figure it out…

I was thinking this would be something may be a problem. However, I am really satisfied with my result and I do think this is a really fun experience.

BTW, you can bind custom HTMLRenderer to gin, since gin by default only renders one template. So I binded html/template as the HTMLRenderer and it’s working just fine.

Leave a Reply

Your email address will not be published. Required fields are marked *