githaven/modules/templates
KN4CK3R a9ca4b4100
Calculate filename hash only once (#19654)
* Calculate hash only once.

* remove unused Sha1 template helper function, use ctx.Data["FileNameHash"]

* fix unit tests
2022-05-09 00:29:50 +02:00
..
vars Refactor legacy unknwon/com package, improve golangci lint (#19284) 2022-04-01 16:47:50 +08:00
base.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
dynamic.go Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
helper_test.go Use templates for issue e-mail subject and body (#8329) 2019-11-07 21:34:28 +08:00
helper.go Calculate filename hash only once (#19654) 2022-05-09 00:29:50 +02:00
static.go Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
templates_bindata.go Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00