commit | 10bfe0586b48cbca10fe6c43d6e18136f25f8c0c | [log] [tgz] |
---|---|---|
author | Gustavo Niemeyer <gustavo@niemeyer.net> | Fri Mar 01 19:56:47 2013 -0300 |
committer | Gustavo Niemeyer <gustavo@niemeyer.net> | Fri Mar 01 19:56:47 2013 -0300 |
tree | bd4c6344b0042cffca05ed48c7997e66f788213f | |
parent | 495014f4cbc9b2c0203f992b378910e2ecea50a2 [diff] |
Trivial tweaks after logger locking merge.
diff --git a/gocheck.go b/gocheck.go index 542e2eb..a037c95 100644 --- a/gocheck.go +++ b/gocheck.go
@@ -75,7 +75,6 @@ method *methodType kind funcKind status funcStatus - writeLock sync.Mutex // protects logb from concurrent writes logb *logger logw io.Writer done chan *C @@ -89,7 +88,7 @@ runtime.Goexit() } -// logger concurrency safe byte.Buffer +// logger is a concurrency safe byte.Buffer type logger struct { sync.Mutex writer bytes.Buffer