()
| 45 | } |
| 46 | |
| 47 | func (v QueryValue) Pair() string { |
| 48 | var out []string |
| 49 | for _, arg := range v.Pairs() { |
| 50 | out = append(out, arg.Name+" "+arg.Type) |
| 51 | } |
| 52 | return strings.Join(out, ",") |
| 53 | } |
| 54 | |
| 55 | // Return the argument name and type for query methods. Should only be used in |
| 56 | // the context of method arguments. |