[ANN] go-portable and go-compatible

62 views
Skip to first unread message

Manlio Perillo

unread,
Apr 20, 2021, 1:41:23 PM4/20/21
to golang-nuts
Recently I have started to send some CL to the Go project, and I wanted some tools to check the portability to other platforms and the compatibility to older Go releases of my changes.

https://github.com/perillo/go-portable checks if a package is portable to all the platforms supported by go.  Internally it invokes go vet on all the platforms listed by go tool dist list.
With the -first-class option, it is possible to limit the use to only first class ports.

https://github.com/perillo/go-compatible checks if a package is compatible with older versions of go.  Internally it invokes go vet on all the releases in ~/sdk.
With the -since option, it is possible to limit the use to to only releases more recent than the specified version.
With the -test option, the tool invokes go test, instead of go vet.

Regards
Manlio Perillo
Reply all
Reply to author
Forward
0 new messages