pongo2-addons/helpers.go

16 lines
149 B
Go
Raw Normal View History

2014-07-30 22:58:02 +02:00
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
}