(p []byte)
| 23 | } |
| 24 | |
| 25 | func (s *syncBuffer) Write(p []byte) (n int, err error) { |
| 26 | s.mu.Lock() |
| 27 | defer s.mu.Unlock() |
| 28 | |
| 29 | return s.b.Write(p) |
| 30 | } |
| 31 | |
| 32 | func (s *syncBuffer) String() string { |
| 33 | s.mu.RLock() |
no outgoing calls
no test coverage detected