valyala / quicktemplate

Fast, powerful, yet easy to use template engine for Go. Optimized for speed, zero memory allocations in hot paths. Up to 20x faster than html/template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Accept uint64 values for %d

Kagami opened this issue · comments

Hi.

Right now it's only possible to use ints with {%d … %} output tag, when I trying to pass uint64 I get the following error:

test.qtpl:8[/home/user/test.qtpl.go:49]: cannot use id (type uint64) as type int in argument to qw422016.N().D

Could you please add support for uint64 too? Thanks.