mirror of
https://github.com/miekg/dns.git
synced 2025-12-16 09:11:34 +01:00
gofmt
This commit is contained in:
parent
2e0a4a5e34
commit
131f6962d1
@ -8,11 +8,11 @@
|
||||
package dns
|
||||
|
||||
import (
|
||||
"os"
|
||||
"bufio"
|
||||
"net"
|
||||
"os"
|
||||
"strconv"
|
||||
"strings"
|
||||
"net"
|
||||
)
|
||||
|
||||
// Wraps the contents of the /etc/resolv.conf.
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
package dns
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"strings"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestSecure(t *testing.T) {
|
||||
|
||||
2
edns.go
2
edns.go
@ -1,8 +1,8 @@
|
||||
package dns
|
||||
|
||||
import (
|
||||
"strconv"
|
||||
"encoding/hex"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
// EDNS0 Option codes.
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
package dns
|
||||
|
||||
import (
|
||||
"io"
|
||||
"math/big"
|
||||
"strconv"
|
||||
"crypto/rsa"
|
||||
"crypto/ecdsa"
|
||||
"crypto/elliptic"
|
||||
"crypto/rand"
|
||||
"crypto/rsa"
|
||||
"io"
|
||||
"math/big"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
// Empty interface that is used as a wrapper around all possible
|
||||
|
||||
2
nsec3.go
2
nsec3.go
@ -1,9 +1,9 @@
|
||||
package dns
|
||||
|
||||
import (
|
||||
"crypto/sha1"
|
||||
"hash"
|
||||
"strings"
|
||||
"crypto/sha1"
|
||||
)
|
||||
|
||||
type saltWireFmt struct {
|
||||
|
||||
@ -4,9 +4,9 @@ import (
|
||||
// "os"
|
||||
// "time"
|
||||
// "bufio"
|
||||
"crypto/rsa"
|
||||
"strings"
|
||||
"testing"
|
||||
"crypto/rsa"
|
||||
)
|
||||
|
||||
func TestSign(t *testing.T) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user