(g *Generator)
| 25 | } |
| 26 | |
| 27 | func (b *Build) writeHeader(g *Generator) { |
| 28 | if b.Tags != "" { |
| 29 | g.Printf(`// +build %s |
| 30 | `, b.Tags) |
| 31 | } |
| 32 | g.buf.WriteString(`// Code generated by "httpsnoop/codegen"; DO NOT EDIT. |
| 33 | |
| 34 | package httpsnoop |
| 35 | |
| 36 | `) |
| 37 | } |
| 38 | |
| 39 | func (b *Build) Implementation() *Generator { |
| 40 | ifaces := b.Interfaces |
no test coverage detected