17 lines
215 B
Go
17 lines
215 B
Go
package main
|
|
|
|
import (
|
|
"html/template"
|
|
)
|
|
|
|
var (
|
|
debugMode bool = true
|
|
funcs = template.FuncMap{
|
|
"sub": func(a, b int) int {
|
|
return a - b
|
|
},
|
|
"add": func(a, b int) int {
|
|
return a + b
|
|
},
|
|
}
|
|
)
|