You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 7, 2022. It is now read-only.
编译出现bug
./tcping.go:22:33: error: reference to undefined field or method ‘Microseconds’
var duration = float64(endTime.Microseconds()) / 1000.0
^
./tcping.go:24:16: error: incompatible type for return value 2 (cannot use type float64 as type float32)
return true, duration
^
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
编译出现bug
./tcping.go:22:33: error: reference to undefined field or method ‘Microseconds’
var duration = float64(endTime.Microseconds()) / 1000.0
^
./tcping.go:24:16: error: incompatible type for return value 2 (cannot use type float64 as type float32)
return true, duration
^
The text was updated successfully, but these errors were encountered: