Remove unused field

This commit is contained in:
Ola Bini 2020-03-26 14:10:33 +00:00
parent 9c082d3516
commit d6c4d9f766
No known key found for this signature in database
GPG key ID: 6786A150F6A2B28F

View file

@ -6,7 +6,6 @@
package logtarget
import (
"bytes"
"io"
"os"
"sync"
@ -23,10 +22,9 @@ type LogTarget interface {
}
type fileLogTarget struct {
mu sync.Mutex
logfn string
file *os.File
memLog *bytes.Buffer
mu sync.Mutex
logfn string
file *os.File
}
var Default LogTarget