diff --git a/godoc/dl/dl.go b/godoc/dl/dl.go index abff3275..b4230b61 100644 --- a/godoc/dl/dl.go +++ b/godoc/dl/dl.go @@ -151,7 +151,7 @@ type Feature struct { File fileRE *regexp.Regexp - Platform string // "Microsoft Windows", "Mac OS X", "Linux" + Platform string // "Microsoft Windows", "Apple macOS", "Linux" Requirements string // "Windows XP and above, 64-bit Intel Processor" } @@ -160,12 +160,12 @@ type Feature struct { var featuredFiles = []Feature{ { Platform: "Microsoft Windows", - Requirements: "Windows XP or later, Intel 64-bit processor", + Requirements: "Windows XP SP2 or later, Intel 64-bit processor", fileRE: regexp.MustCompile(`\.windows-amd64\.msi$`), }, { - Platform: "Apple OS X", - Requirements: "OS X 10.8 or later, Intel 64-bit processor", + Platform: "Apple macOS", + Requirements: "macOS 10.8 or later, Intel 64-bit processor", fileRE: regexp.MustCompile(`\.darwin-amd64(-osx10\.8)?\.pkg$`), }, { @@ -486,7 +486,7 @@ func pretty(s string) string { } var prettyStrings = map[string]string{ - "darwin": "OS X", + "darwin": "macOS", "freebsd": "FreeBSD", "linux": "Linux", "windows": "Windows",