()
| 155 | } |
| 156 | |
| 157 | func (f *funcType) DefString() string { |
| 158 | args := f.args |
| 159 | if len(args) > 0 { |
| 160 | // skip the first ', ' |
| 161 | args = args[2:] |
| 162 | } |
| 163 | return fmt.Sprintf("%s%s(%s) string", f.defPrefix, f.name, args) |
| 164 | } |
| 165 | |
| 166 | func (f *funcType) prefixWrite() string { |
| 167 | s := "write" |
no outgoing calls