mirror of
https://github.com/Luzifer/go_helpers.git
synced 2024-12-25 13:31:21 +00:00
Fix TIP version error: Sprintf format %s has arg of wrong type byte
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
c50b4c9000
commit
e39ffe337f
1 changed files with 1 additions and 1 deletions
|
@ -33,5 +33,5 @@ func (a *AccessLogResponseWriter) WriteHeader(code int) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *AccessLogResponseWriter) HTTPResponseType() string {
|
func (a *AccessLogResponseWriter) HTTPResponseType() string {
|
||||||
return fmt.Sprintf("%sxx", strconv.FormatInt(int64(a.StatusCode), 10)[0])
|
return fmt.Sprintf("%cxx", strconv.FormatInt(int64(a.StatusCode), 10)[0])
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue