aboutsummaryrefslogtreecommitdiff
path: root/template/go/snip-min-two.go
blob: 29f8d4852cc59706ae84fad17b6658fe7bb2c714 (plain)
1
2
3
4
5
6
func min(a, b {{_input_:type}}) {{_input_:type}} {
	if a < b {
		return a
	}
	return b
}