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:
- error
function:
- result-implements: io.Reader
function:
- final-result-implements: error
function:
- argument-implements: context.Context