NewMemberOverload returns a new serializable representation of a member (receiver) overload.
(id string, target *TypeDesc, args []*TypeDesc, ret *TypeDesc, examples ...string)
| 400 | |
| 401 | // NewMemberOverload returns a new serializable representation of a member (receiver) overload. |
| 402 | func NewMemberOverload(id string, target *TypeDesc, args []*TypeDesc, ret *TypeDesc, examples ...string) *Overload { |
| 403 | return &Overload{ID: id, Target: target, Args: args, Return: ret, Examples: examples} |
| 404 | } |
| 405 | |
| 406 | // Overload represents the serializable format of a function overload. |
| 407 | type Overload struct { |
no outgoing calls