SonarQube for Golang

Hi Guys,

I have installed the Sonarqube and configure the path of sonar cli scanner. But when i have scan the golang project in the sonarqube then it is showing error the main branch has no lines of code.

Please help me in these error.


Welcome to the community!

In fact, this question gets asked a lot. Have you looked at any of the other threads with the phrase “The main branch of this project is empty”?