function
The function join point selects function and method declarations or function literal expressions that match the provided criteria.
Examples
function:
- name: main
- signature: {}function:
- signature-contains:
args:
- context.Context
returns:
- errorfunction:
- result-implements: io.Readerfunction:
- final-result-implements: errorfunction:
- argument-implements: context.Context