Update: Redundant semicolon disableEscapeHTML

This commit is contained in:
Openset 2018-06-14 11:55:07 +08:00
parent ad6c97ec1b
commit b80b7b06fc
1 changed files with 3 additions and 4 deletions

View File

@ -17,8 +17,8 @@ package logs
import (
"bytes"
"encoding/json"
"time"
"fmt"
"time"
)
const (
@ -53,10 +53,9 @@ func (r *AccessLogRecord) json() ([]byte, error) {
}
func disableEscapeHTML(i interface{}) {
e, ok := i.(interface {
if e, ok := i.(interface {
SetEscapeHTML(bool)
});
if ok {
}); ok {
e.SetEscapeHTML(false)
}
}