fixed some `go vet` issues.
using `errors.New` instead `fmt.Error`.
fixed `Looback` typo.
Merge pull request #2966 from andrewsmedina/govet2

fixed some `go vet` issues.