mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2024-09-20 01:18:56 +03:00
parent
d30c44a6a8
commit
87d9653ec2
@ -101,20 +101,6 @@ func Max(a, b int) int {
|
||||
return b
|
||||
}
|
||||
|
||||
func MinF(a, b float64) float64 {
|
||||
if a < b {
|
||||
return a
|
||||
}
|
||||
return b
|
||||
}
|
||||
|
||||
func MaxF(a, b float64) float64 {
|
||||
if a > b {
|
||||
return a
|
||||
}
|
||||
return b
|
||||
}
|
||||
|
||||
func StringReverse(s string) string {
|
||||
r := []rune(s)
|
||||
for i, j := 0, len(r)-1; i < len(r)/2; i, j = i+1, j-1 {
|
||||
|
Loading…
Reference in New Issue
Block a user