build: upgrade dependency and build with go 1.21
This commit is contained in:
1 parent
adb38c3820
commit
993cfaa9d4
353 files changed
+47533
-16238
No files matched your search
+1
-1
@@ -9,7 +9,7 @@ package unix
|
||||
|
||||
import "time"
|
||||
|
||||
// TimespecToNSec returns the time stored in ts as nanoseconds.
|
||||
// TimespecToNsec returns the time stored in ts as nanoseconds.
|
||||
func TimespecToNsec(ts Timespec) int64 { return ts.Nano() }
|
||||
|
||||
// NsecToTimespec converts a number of nanoseconds into a Timespec.
|
||||
|
||||
Reference in new issue
Block a user