You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 16, 2021. It is now read-only.
Fixing a go vet issue (even though this one looks harmless/false positive, see golang/go#13675) is definitely a good idea and appreciated.
I've offered an alternative way to resolve it in a comment at https://go-review.googlesource.com/#/c/24260/1. (I made a typo there, it should be token := cbs.Get("/xxx") in the second block.)
Currently running
go tool vet .
on gddo code produces the following error in httputil/buster_test.go:would it be OK to change the offending line in https://opensource.git.corp.yahoo.com/golang/gddo/blob/master/httputil/buster_test.go#L23
to
cbs.Handler = ss.FileHandler("buster_test.go")
? The tests run fine.Another possibility would be to create a new variable ex.
cbs2
instead of reusingcbs
, with the diff of two lines:go tool vet
issues cause a problem for CI systems that fail the builds on vet errors (when building local versions of "gddo" using this codebase).I'd be happy to submit a change, let me know if it wold be ok and if you have any preferences in terms of the options above. Thanks.
The text was updated successfully, but these errors were encountered: