Skip to content

Commit 931c478

Browse files
authored
Merge pull request #252 from fkautz/go-mod
go.mod and go.sum are now detected as golang
2 parents 5667014 + e8b6ab8 commit 931c478

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

identify/extensions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,8 @@
288288
'Gemfile': EXTENSIONS['rb'],
289289
'Gemfile.lock': {'text'},
290290
'GNUmakefile': EXTENSIONS['mk'],
291+
'go.mod': {'text', 'go-mod'},
292+
'go.sum': {'text', 'go-sum'},
291293
'Jenkinsfile': EXTENSIONS['jenkins'],
292294
'LICENSE': EXTENSIONS['txt'],
293295
'MAINTAINERS': EXTENSIONS['txt'],

0 commit comments

Comments
 (0)