numaflow icon indicating copy to clipboard operation
numaflow copied to clipboard

Find unreachable functions with deadcode if any

Open KeranYang opened this issue 1 year ago • 2 comments

https://go.dev/blog/deadcode

Run the tool under the cmd folder to identify. Look for opportunities to clean up.

KeranYang avatar Feb 26 '24 15:02 KeranYang

@KeranYang we only want do deadcode lookup on cmd folder?

rishhavv avatar Feb 29 '24 22:02 rishhavv

Hey @rishhavv , thanks for looking at the issue. I think cmd folder is the entrance of the platform(container). The tool always starts checking from the main function. Starting from cmd it should be able to cover most of the pkgs.

KeranYang avatar Feb 29 '24 22:02 KeranYang