golang/go

cmd/api: remove contexts slice by parsing `go tool dist list -json` output

Open

#14.892 aperta il 21 mar 2016

Vedi su GitHub
 (12 commenti) (2 reazioni) (0 assegnatari)Go (19.008 fork)batch import
NeedsFixhelp wanted

Metriche repository

Star
 (133.883 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

It's discovered in https://golang.org/cl/20935 that cmd/api contains a copy of supported platforms along with their cgo support status.

We should remove those hardcoded values and use go tool dist list -json instead.

Guida contributor