From 99fefccd70d3d006a9f3ddccc45eda559af1f197 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 25 Mar 2025 03:03:25 +0800 Subject: Fix group path trailing slash --- http_template_funcs.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'http_template_funcs.go') diff --git a/http_template_funcs.go b/http_template_funcs.go index 8d67aff..b94e528 100644 --- a/http_template_funcs.go +++ b/http_template_funcs.go @@ -37,3 +37,7 @@ func dereferenceOrZero[T any](p *T) T { var z T return z } + +func minus(a, b int) int { + return a - b +} -- cgit v1.2.3