awslabs / ar-go-tools

ar-go-tools (Argot) is a collection of analysis tools for Go
Apache License 2.0
5 stars 1 forks source link

Adding configuration for channel receives as sources. #20

Closed victornicolet closed 10 months ago

victornicolet commented 10 months ago

This PR adds the option to specify receives on channels of a given type to be considered sources. To specify that receiving data from a channel of type chan A where A is a type in package mypackage, add the following configuration:

sources:
    - package: "mypackage"
       type: "chan A"
       kind: "channel receive"

Other minor changes: