0

My Go service need to pass Sonar check. There're some functions (like creating DB connection) that need to be ignored.

How can I force Sonar to ignore one function on Go service?

Yura
  • 969
  • 14
  • 33
  • 1
    Does this answer your question? [Exclude methods in Sonarqube](https://stackoverflow.com/questions/39390003/exclude-methods-in-sonarqube) – Beginner Jan 31 '22 at 15:03
  • 1
    https://docs.sonarqube.org/latest/project-administration/narrowing-the-focus/#header-3 – Beginner Jan 31 '22 at 15:03

0 Answers0