Signature returns a human-readable signature. If simplify is bool, tuple-returning functions with just 1 tuple element unwrap the return type in the signature.
(simplify bool)
| 372 | // If simplify is bool, tuple-returning functions with just |
| 373 | // 1 tuple element unwrap the return type in the signature. |
| 374 | func (b Overload) Signature(simplify bool) string { |
| 375 | return b.SignatureWithDefaults(simplify, false /* includeDefault */) |
| 376 | } |
| 377 | |
| 378 | // SignatureWithDefaults is the same as Signature but also allows specifying |
| 379 | // whether DEFAULT expressions should be included. |
no test coverage detected