Rule Description KPI URL
golint-omitValueFromRange should omit values from range; this loop is equivalent to ‘for range …’ Accuracy https://github.com/golang/lint/blob/master/lint.go
golint-omit2ndValueFromRange should omit 2nd value from range; this loop is equivalent to ‘for %s %s range …’ Accuracy https://github.com/golang/lint/blob/master/lint.go
golint-replaceSprintf should replace (fmt.Sprintf(…)) with .Errorf(…) Understandability https://github.com/golang/lint/blob/master/lint.go
vet-unsafeptr Likely incorrect uses of unsafe.Pointer to convert integers to pointers. A conversion from uintptr to unsafe.Pointer is invalid if it implies that there is a uintptr-typed word in memory that holds a pointer value, because that word will be invisible to stack copying and to the garbage collector. Accuracy https://golang.org/cmd/vet/#hdr-Misuse_of_unsafe_Pointers