Closed stv0g closed 2 years ago
I realized that adding wgctrl as a dependency to my go package pulls in honnef.co/go/tools and as transitive dependency.
honnef.co/go/tools
From my understanding this package is only used to pin a specific staticcheck version.
staticcheck
I find it quite unconventional to use the go.mod file for this purpose. At least I haven't seen in any other go package so far.
go.mod
Can we remove this dependency alongside the tools.go file?
tools.go
Yep, this is something I had tried out briefly but have been removing from other projects. Will do.
Thanks 👍
I realized that adding wgctrl as a dependency to my go package pulls in
honnef.co/go/tools
and as transitive dependency.From my understanding this package is only used to pin a specific
staticcheck
version.I find it quite unconventional to use the
go.mod
file for this purpose. At least I haven't seen in any other go package so far.Can we remove this dependency alongside the
tools.go
file?