2024-06-10 11:49:40 +02:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"html/template"
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
debugMode bool = true
|
2024-06-15 23:53:03 +02:00
|
|
|
funcs = template.FuncMap{
|
2024-06-10 11:49:40 +02:00
|
|
|
"sub": func(a, b int) int {
|
|
|
|
return a - b
|
|
|
|
},
|
|
|
|
"add": func(a, b int) int {
|
|
|
|
return a + b
|
|
|
|
},
|
|
|
|
}
|
|
|
|
)
|