-
-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Description
I've noticed this while playing with formatting go sources
gofumpt -d ./net/dnsclient.go
diff ./net/dnsclient.go.orig ./net/dnsclient.go
--- ./net/dnsclient.go.orig
+++ ./net/dnsclient.go
@@ -5,15 +5,19 @@
package net
import (
+ "sort"
+ _ "unsafe"
+
"internal/bytealg"
"internal/itoa"
- "sort"
- _ "unsafe" // for go:linkname
+
+ // for go:linkname
"golang.org/x/net/dns/dnsmessage"
)
// provided by runtime
+//
//go:linkname runtime_rand runtime.rand
func runtime_rand() uint64Metadata
Metadata
Assignees
Labels
No labels