sonar-go
sonar-go copied to clipboard
Rule S1144: Unused "private" methods should be removed
Implements RSPEC-1144
without semantic information only "trivial" version of this rule can be implemented. We can adopt the rule for Go by considering functions which are not exported (i.e. have lowercase identifier)
Even trivial version is not possible, because lowercase identifier are private for the package and package in Go can span across multiple files.