aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/net/publicsuffix
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2022-09-30 11:52:44 -0700
committerJordan <me@jordan.im>2022-09-30 11:52:44 -0700
commit0192a4e3f1c90df255e44831a579d9b0f611a543 (patch)
tree52c6bfa35b5491560af253a5e5ba90ed8a729871 /vendor/golang.org/x/net/publicsuffix
parent66bfe530b4fd5cb9755337ce718df26ee81f1b77 (diff)
downloadkeep-0192a4e3f1c90df255e44831a579d9b0f611a543.tar.gz
keep-0192a4e3f1c90df255e44831a579d9b0f611a543.zip
go.mod: bump discordgo, go-sqlite3, x/net
Diffstat (limited to 'vendor/golang.org/x/net/publicsuffix')
-rw-r--r--vendor/golang.org/x/net/publicsuffix/list.go7
-rw-r--r--vendor/golang.org/x/net/publicsuffix/table.go2
2 files changed, 6 insertions, 3 deletions
diff --git a/vendor/golang.org/x/net/publicsuffix/list.go b/vendor/golang.org/x/net/publicsuffix/list.go
index 200617e..e2fddd6 100644
--- a/vendor/golang.org/x/net/publicsuffix/list.go
+++ b/vendor/golang.org/x/net/publicsuffix/list.go
@@ -33,9 +33,10 @@
// the last two are not (but share the same eTLD+1: "google.com").
//
// All of these domains have the same eTLD+1:
-// - "www.books.amazon.co.uk"
-// - "books.amazon.co.uk"
-// - "amazon.co.uk"
+// - "www.books.amazon.co.uk"
+// - "books.amazon.co.uk"
+// - "amazon.co.uk"
+//
// Specifically, the eTLD+1 is "amazon.co.uk", because the eTLD is "co.uk".
//
// There is no closed form algorithm to calculate the eTLD of a domain.
diff --git a/vendor/golang.org/x/net/publicsuffix/table.go b/vendor/golang.org/x/net/publicsuffix/table.go
index fd3c3ca..a444239 100644
--- a/vendor/golang.org/x/net/publicsuffix/table.go
+++ b/vendor/golang.org/x/net/publicsuffix/table.go
@@ -540,6 +540,7 @@ const text = "9guacuiababia-goracleaningroks-theatree164-balsfjordd-dnshome-we"
// An I denotes an ICANN domain.
//
// The layout within the uint32, from MSB to LSB, is:
+//
// [ 0 bits] unused
// [10 bits] children index
// [ 1 bits] ICANN bit
@@ -9898,6 +9899,7 @@ var nodes = [...]uint32{
// will be in the range [0, 6), depending on the wildcard bit and node type.
//
// The layout within the uint32, from MSB to LSB, is:
+//
// [ 1 bits] unused
// [ 1 bits] wildcard bit
// [ 2 bits] node type