mirror of
https://github.com/go-delve/delve.git
synced 2025-10-27 20:23:41 +08:00
*: Fix go vet complaints (#1935)
* *: Fix go vet struct complaints * *: Fix struct vet issue on linux * *: Ignore proc/native in go vet check We have to do some unsafe pointer manipulation that will never make go vet happy within the proc/native package. Ignore it for runs of go vet.
This commit is contained in:
@ -1482,7 +1482,7 @@ func go11DecodeErrorCheck(err error) error {
|
||||
}
|
||||
|
||||
gover, ok := goversion.Installed()
|
||||
if !ok || !gover.AfterOrEqual(goversion.GoVersion{1, 11, -1, 0, 0, ""}) || goversion.VersionAfterOrEqual(runtime.Version(), 1, 11) {
|
||||
if !ok || !gover.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 11, Rev: -1}) || goversion.VersionAfterOrEqual(runtime.Version(), 1, 11) {
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user