build: run gofmt -s to simplify the code: suggested by Go Report Card

This commit is contained in:
Nick Craig-Wood
2020-06-18 18:45:39 +01:00
parent df9c930581
commit d8eea0e397
4 changed files with 48 additions and 48 deletions

View File

@ -42,10 +42,10 @@ var (
// Globals
matchProject = regexp.MustCompile(`^([\w-]+)/([\w-]+)$`)
osAliases = map[string][]string{
"darwin": []string{"macos", "osx"},
"darwin": {"macos", "osx"},
}
archAliases = map[string][]string{
"amd64": []string{"x86_64"},
"amd64": {"x86_64"},
}
)