diff --git a/doc.go b/doc.go index 26e288df..1d811474 100644 --- a/doc.go +++ b/doc.go @@ -63,7 +63,7 @@ class) is as easy as setting: c.SingleInflight = true -More advanced options are availabe using a net.Dialer and the corresponding API. +More advanced options are available using a net.Dialer and the corresponding API. For example it is possible to set a timeout, or to specify a source IP address and port to use for the connection: diff --git a/parse_test.go b/parse_test.go index fd6ccfe5..2b506d7a 100644 --- a/parse_test.go +++ b/parse_test.go @@ -145,7 +145,7 @@ func TestTXTEscapeParsing(t *testing.T) { } func GenerateDomain(r *rand.Rand, size int) []byte { - dnLen := size % 70 // artificially limit size so there's less to intrepret if a failure occurs + dnLen := size % 70 // artificially limit size so there's less to interpret if a failure occurs var dn []byte done := false for i := 0; i < dnLen && !done; { @@ -203,7 +203,7 @@ func TestDomainQuick(t *testing.T) { } func GenerateTXT(r *rand.Rand, size int) []byte { - rdLen := size % 300 // artificially limit size so there's less to intrepret if a failure occurs + rdLen := size % 300 // artificially limit size so there's less to interpret if a failure occurs var rd []byte for i := 0; i < rdLen; { max := rdLen - 1