OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Hulk did something
[bytom/vapor.git]
/
vendor
/
github.com
/
tendermint
/
tmlibs
/
common
/
math.go
1
package common
2
3
func MaxInt(a, b int) int {
4
if a > b {
5
return a
6
}
7
return b
8
}
9
10
func MinInt(a, b int) int {
11
if a < b {
12
return a
13
}
14
return b
15
}