Skip to content

Commit

Permalink
Added Go language support
Browse files Browse the repository at this point in the history
  • Loading branch information
codemakerai-dev committed May 30, 2023
1 parent 407bff9 commit 245a0fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Following programming languages are supported:

* JavaScript
* Java
* Go
* Kotlin

More language support is coming soon.
Expand Down
2 changes: 2 additions & 0 deletions cli/language.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ var fileExtensions = map[string]string{
".js": client.LanguageJavaScript,
".jsx": client.LanguageJavaScript,
".java": client.LanguageJava,
".go": client.LanguageGo,
".kt": client.LanguageKotlin,
}

var testFileSuffixes = map[string]string{
client.LanguageJavaScript: "_test.js",
client.LanguageJava: "Test.java",
client.LanguageGo: "_test.go",
client.LanguageKotlin: "Test.kt",
}

Expand Down

0 comments on commit 245a0fa

Please sign in to comment.