MCPcopy Create free account
hub / github.com/goadesign/goa / Count

Method Count

pkg/skip_response_writer.go:49–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49func (wc *writeCounter) Count() int64 { return wc.n.Load() }
50func (wc *writeCounter) Write(b []byte) (n int, err error) {
51 n, err = wc.Writer.Write(b)
52 wc.n.Add(int64(n))

Callers 6

WriteToMethod · 0.95
transformArrayFunction · 0.80
CommentFunction · 0.80
transformArrayFunction · 0.80

Calls

no outgoing calls

Tested by 2