Explicitly inform go vet about the names of our logging methods which should be checked in the same way as fmt.Printf is. Although go vet can often find such functions on its own, it can't find these ones because log.Logger is an interface, not a struct. In addition, fix several format string mistakes caught by go vet. |
||
|---|---|---|
| .. | ||
| log.go | ||
| log_test.go | ||
| mock.go | ||