| // +build ignore | |
| package main | |
| // Method represents a method signature. | |
| type Method struct { | |
| Recv string | |
| Func | |
| } | |
| // Func represents a function signature. | |
| type Func struct { | |
| Name string | |
| Params []Param | |
| Res []Param | |
| } | |
| // Param represents a parameter in a function or method signature. | |
| type Param struct { | |
| Name string | |
| Type string | |
| } |