mirror of
https://github.com/golang/go
synced 2024-11-18 12:54:44 -07:00
godoc/dl: change OS X to macOS, clarify WinXP requirement
Change-Id: Ib90881aef9c1bec0339dbbc38cbb320d5b731d97 Reviewed-on: https://go-review.googlesource.com/47251 Reviewed-by: Andrew Bonventre <andybons@google.com>
This commit is contained in:
parent
9be3b7cbc7
commit
1b3bb8de7d
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user