boulder/metrics/measured_http
Joel Sing f8a023e49c Remove various unnecessary uses of fmt.Sprintf (#3707)
Remove various unnecessary uses of fmt.Sprintf - in particular:

- Avoid calls like t.Error(fmt.Sprintf(...)), where t.Errorf can be used directly.

- Use strconv when converting an integer to a string, rather than using
  fmt.Sprintf("%d", ...). This is simpler and can also detect type errors at
  compile time.

- Instead of using x.Write([]byte(fmt.Sprintf(...))), use fmt.Fprintf(x, ...).
2018-05-11 11:55:25 -07:00
..
http.go Remove various unnecessary uses of fmt.Sprintf (#3707) 2018-05-11 11:55:25 -07:00
http_test.go Use whitelisted methods for HTTP stats. 2017-05-30 15:50:12 -07:00