I’m building sort of linter for my go lang project and would like to find all the types implementing Close() method (so later on i can check either it is called). Project is module based.
I managed to do this for the code i own using
The problem i have is how to parse also all the dependencies in order to scan types declarations there.
Would appreciate any help.