pongo2-addons/helpers.go
2014-07-30 22:58:02 +02:00

16 lines
149 B
Go

package pongo2addons
func max(a, b int) int {
if a > b {
return a
}
return b
}
func min(a, b int) int {
if a < b {
return a
}
return b
}