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