5 ms·
The language analysis does not show any % for Golang :D
by PhantomBKB 8y ago
The language analysis does not show any % for Golang :D
- Ne0nd0g 8y agoYeah, that part is frustrating. It picks up the PowerShell script in one of the sub directories and marks the whole project as such.
- w8rbt 8y agoThat happened to a Go repo of mine once as well (except it was a python script causing the misidentification). I fixed it by adding a gitattributes file to the repo. Here it is: https://github.com/w8rbt/netscan/blob/master/.gitattributes https://github.com/w8rbt/netscan/blob/master/.gitattributes
- StavrosK 8y agoWhy is the fix to tell Github that py files are Go? I would have expected the fix to be to tell it that go files are Go instead, no?
- rmetzler 8y agoI would guess, the real fix is to improve linguist, the Ruby gem GitHub uses to determine the programming language. Everything else is a workaround. https://github.com/github/linguist https://github.com/github/linguist
- Ne0nd0g 8y agoThanks!