mark2web/vendor/github.com/flosch/pongo2-addons/helpers.go

16 lines
149 B
Go
Raw Normal View History

2022-02-28 10:28:34 +01: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
}