mirror of
https://github.com/kataras/iris.git
synced 2026-01-11 14:05:59 +00:00
update dependencies
This commit is contained in:
@@ -281,10 +281,10 @@ func New(w io.Writer) *AccessLog {
|
||||
BodyMinify: true,
|
||||
KeepMultiLineError: true,
|
||||
PanicLog: LogHandler,
|
||||
logsPool: &sync.Pool{New: func() interface{} {
|
||||
logsPool: &sync.Pool{New: func() any {
|
||||
return new(Log)
|
||||
}},
|
||||
bufPool: &sync.Pool{New: func() interface{} {
|
||||
bufPool: &sync.Pool{New: func() any {
|
||||
return new(bytes.Buffer)
|
||||
}},
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ type CSV struct {
|
||||
func (f *CSV) SetOutput(dest io.Writer) {
|
||||
f.ac, _ = dest.(*AccessLog)
|
||||
f.writerPool = &sync.Pool{
|
||||
New: func() interface{} {
|
||||
New: func() any {
|
||||
return csv.NewWriter(dest)
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user