templating: Remove unused lazy code

This commit is contained in:
Tom 2023-07-13 22:51:20 +02:00
parent 1c68893a02
commit 46b16e5700
4 changed files with 30 additions and 110 deletions

View file

@ -40,7 +40,7 @@ type RuntimeFlags struct {
CSRF template.HTML // csrf data (if any)
}
var runtimeFlagsName = reflectx.TypeOf[RuntimeFlags]().Name()
var runtimeFlagsName = reflectx.MakeType[RuntimeFlags]().Name()
// Clone clones this flags
func (flags Flags) Clone() Flags {