directive

The directive join point is node-agnostic. It matches any AST node that is annotated with the specified directive.

A directive is a special single-line comment such as //go:linkname. In order for a comment to be considered a directive, there must be no white space between the // and the directive name.

Examples

directive: dd:span