Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/grumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOla Bini <ola@autonomia.digital>2020-03-26 17:10:33 +0300
committerOla Bini <ola@autonomia.digital>2020-03-26 17:10:33 +0300
commitd6c4d9f766137c7115eaa38e7a6206bd087e091a (patch)
tree0f9d2d22c8dd07a4812377702b81d9a9e97af5d4
parent9c082d3516187cbf2a334f0dbe907717afcaedf1 (diff)
Remove unused field
-rw-r--r--pkg/logtarget/logtarget.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/pkg/logtarget/logtarget.go b/pkg/logtarget/logtarget.go
index 950458a..5cf99da 100644
--- a/pkg/logtarget/logtarget.go
+++ b/pkg/logtarget/logtarget.go
@@ -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