MCPcopy
hub / github.com/mattermost/mattermost / testWriter

Struct testWriter

server/channels/app/permissions_test.go:16–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14)
15
16type testWriter struct {
17 write func(p []byte) (int, error)
18}
19
20func (tw testWriter) Write(p []byte) (int, error) {
21 return tw.write(p)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected