mirror of
https://github.com/pyihe/go-pkg.git
synced 2025-10-16 13:01:02 +08:00
fix Param
This commit is contained in:
@@ -25,7 +25,7 @@ func Int64(b []byte) (v int64, err error) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
negative := false
|
negative := false
|
||||||
if b[0] == '-' || b[1] == '+' {
|
if b[0] == '-' || b[0] == '+' {
|
||||||
if b[0] == '-' {
|
if b[0] == '-' {
|
||||||
negative = true
|
negative = true
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user