Go Reference

golang.org/x/build/cmd/fetchlogs

Fetchlogs downloads build failure logs from the Go dashboard so they can be accessed and searched from the local file system.