Fix project import path

This commit is contained in:
2018-10-08 18:50:11 +02:00
parent 0c6febd4c4
commit 9e549dd740
324 changed files with 56914 additions and 9663 deletions

View File

@ -5,8 +5,43 @@
//go:generate go run gen.go
// Package publicsuffix provides a public suffix list based on data from
// http://publicsuffix.org/. A public suffix is one under which Internet users
// can directly register names.
// https://publicsuffix.org/
//
// A public suffix is one under which Internet users can directly register
// names. It is related to, but different from, a TLD (top level domain).
//
// "com" is a TLD (top level domain). Top level means it has no dots.
//
// "com" is also a public suffix. Amazon and Google have registered different
// siblings under that domain: "amazon.com" and "google.com".
//
// "au" is another TLD, again because it has no dots. But it's not "amazon.au".
// Instead, it's "amazon.com.au".
//
// "com.au" isn't an actual TLD, because it's not at the top level (it has
// dots). But it is an eTLD (effective TLD), because that's the branching point
// for domain name registrars.
//
// Another name for "an eTLD" is "a public suffix". Often, what's more of
// interest is the eTLD+1, or one more label than the public suffix. For
// example, browsers partition read/write access to HTTP cookies according to
// the eTLD+1. Web pages served from "amazon.com.au" can't read cookies from
// "google.com.au", but web pages served from "maps.google.com" can share
// cookies from "www.google.com", so you don't have to sign into Google Maps
// separately from signing into Google Web Search. Note that all four of those
// domains have 3 labels and 2 dots. The first two domains are each an eTLD+1,
// 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"
// 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.
// Instead, the calculation is data driven. This package provides a
// pre-compiled snapshot of Mozilla's PSL (Public Suffix List) data at
// https://publicsuffix.org/
package publicsuffix // import "golang.org/x/net/publicsuffix"
// TODO: specify case sensitivity and leading/trailing dot behavior for

File diff suppressed because it is too large Load Diff

View File

@ -3327,7 +3327,14 @@ var rules = [...]string{
"jeonnam.kr",
"seoul.kr",
"ulsan.kr",
"*.kw",
"kw",
"com.kw",
"edu.kw",
"emb.kw",
"gov.kw",
"ind.kw",
"net.kw",
"org.kw",
"ky",
"edu.ky",
"gov.ky",
@ -6635,7 +6642,6 @@ var rules = [...]string{
"itau",
"itv",
"iveco",
"iwc",
"jaguar",
"java",
"jcb",
@ -6762,7 +6768,6 @@ var rules = [...]string{
"memorial",
"men",
"menu",
"meo",
"merckmsd",
"metlife",
"miami",
@ -6977,7 +6982,6 @@ var rules = [...]string{
"sandvikcoromant",
"sanofi",
"sap",
"sapo",
"sarl",
"sas",
"save",
@ -7313,7 +7317,6 @@ var rules = [...]string{
"xn--w4rs40l",
"xn--xhq521b",
"xn--zfr164b",
"xperia",
"xyz",
"yachts",
"yahoo",
@ -8508,7 +8511,6 @@ var rules = [...]string{
"*.stolos.io",
"spacekit.io",
"customer.speedpartner.de",
"stackspace.space",
"storj.farm",
"utwente.io",
"temp-dns.com",
@ -9260,7 +9262,6 @@ var nodeLabels = [...]string{
"itau",
"itv",
"iveco",
"iwc",
"jaguar",
"java",
"jcb",
@ -9418,7 +9419,6 @@ var nodeLabels = [...]string{
"memorial",
"men",
"menu",
"meo",
"merckmsd",
"metlife",
"mg",
@ -9694,7 +9694,6 @@ var nodeLabels = [...]string{
"sandvikcoromant",
"sanofi",
"sap",
"sapo",
"sarl",
"sas",
"save",
@ -10147,7 +10146,6 @@ var nodeLabels = [...]string{
"xn--yfro4i67o",
"xn--ygbi2ammx",
"xn--zfr164b",
"xperia",
"xxx",
"xyz",
"yachts",
@ -14124,6 +14122,13 @@ var nodeLabels = [...]string{
"edu",
"com",
"edu",
"emb",
"gov",
"ind",
"net",
"org",
"com",
"edu",
"gov",
"net",
"org",
@ -16599,7 +16604,6 @@ var nodeLabels = [...]string{
"net",
"org",
"linkitools",
"stackspace",
"uber",
"xs4all",
"co",