NewFunctionWithDoc creates a serializable function and overload set.
(name, doc string, overloads ...*Overload)
| 344 | |
| 345 | // NewFunctionWithDoc creates a serializable function and overload set. |
| 346 | func NewFunctionWithDoc(name, doc string, overloads ...*Overload) *Function { |
| 347 | return &Function{Name: name, Description: doc, Overloads: overloads} |
| 348 | } |
| 349 | |
| 350 | // Function represents the serializable format of a function and its overloads. |
| 351 | type Function struct { |
no outgoing calls