MCPcopy Index your code
hub / github.com/felixge/httpsnoop / Bytes

Method Bytes

codegen/main.go:376–378  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

374}
375
376func (g *Generator) Bytes() []byte {
377 return g.buf.Bytes()
378}
379
380func (g *Generator) Format() ([]byte, error) {
381 return format.Source(g.Bytes())

Callers 2

WriteFileMethod · 0.95
FormatMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected