mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2024-12-29 09:42:52 +01:00
c5f61c456b
Bumps [mvdan.cc/xurls/v2](https://github.com/mvdan/xurls) from 2.4.0 to 2.5.0. - [Release notes](https://github.com/mvdan/xurls/releases) - [Commits](https://github.com/mvdan/xurls/compare/v2.4.0...v2.5.0) --- updated-dependencies: - dependency-name: mvdan.cc/xurls/v2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
25 lines
840 B
Go
25 lines
840 B
Go
// Copyright (c) 2015, Daniel Martí <mvdan@mvdan.cc>
|
|
// See LICENSE for licensing information
|
|
|
|
package xurls
|
|
|
|
// PseudoTLDs is a sorted list of some widely used unofficial TLDs.
|
|
//
|
|
// Sources:
|
|
// - https://en.wikipedia.org/wiki/Pseudo-top-level_domain
|
|
// - https://en.wikipedia.org/wiki/Category:Pseudo-top-level_domains
|
|
// - https://tools.ietf.org/html/draft-grothoff-iesg-special-use-p2p-names-00
|
|
// - https://www.iana.org/assignments/special-use-domain-names/special-use-domain-names.xhtml
|
|
var PseudoTLDs = []string{
|
|
`bit`, // Namecoin
|
|
`example`, // Example domain
|
|
`exit`, // Tor exit node
|
|
`gnu`, // GNS by public key
|
|
`i2p`, // I2P network
|
|
`invalid`, // Invalid domain
|
|
`local`, // Local network
|
|
`localhost`, // Local network
|
|
`test`, // Test domain
|
|
`zkey`, // GNS domain name
|
|
}
|