gitinspector icon indicating copy to clipboard operation
gitinspector copied to clipboard

Support golang (.go) files

Open liujinf opened this issue 10 years ago • 4 comments

support golang's comment and metrics.

liujinf avatar Nov 25 '15 07:11 liujinf

While implementing comments obviously is trivial, the implementation of metrics would have to wait a while, as I am not familiar enough with the Go syntax and I would most likely miss something :).

However, pull requests are always welcome. The metrics system for cyclomatic complexity is very simple and just makes use of a list of entry and exit tokens defined as regular expressions. A short explanation on how to add language support is mentioned in issue #59.

adam-waldenberg avatar Nov 25 '15 15:11 adam-waldenberg

Added with #166 - will be merged in 0.5.0.

adam-waldenberg avatar Oct 19 '20 09:10 adam-waldenberg

Is this still planed ? would love the go support

MB175 avatar Nov 18 '22 21:11 MB175

@MB175 Yes. In the meantime just apply the pull request. Not much time for gitinspector lately, but one of these days I will take a week or two to get things up to scratch.

adam-waldenberg avatar Nov 20 '22 02:11 adam-waldenberg