refactore: using client package for API requests #123
Your pull request is up to standards!
Codacy found no issues in your code
Annotations
Check warning on line 121 in cmd/init.go
codacy-production / Codacy Static Code Analysis
cmd/init.go#L121
Method configFileTemplate has 81 lines of code (limit is 50)
Check failure on line 121 in cmd/init.go
codacy-production / Codacy Static Code Analysis
cmd/init.go#L121
Method configFileTemplate has a cyclomatic complexity of 16 (limit is 10)
Check warning on line 298 in cmd/init.go
codacy-production / Codacy Static Code Analysis
cmd/init.go#L298
Method createToolFileConfigurations has 83 lines of code (limit is 50)
Check failure on line 298 in cmd/init.go
codacy-production / Codacy Static Code Analysis
cmd/init.go#L298
Method createToolFileConfigurations has a cyclomatic complexity of 25 (limit is 10)
Check notice on line 16 in codacy-client/client.go
codacy-production / Codacy Static Code Analysis
codacy-client/client.go#L16
var CodacyApiBase should be CodacyAPIBase
Check notice on line 10 in domain/tool.go
codacy-production / Codacy Static Code Analysis
domain/tool.go#L10
struct field Uuid should be UUID
Check notice on line 33 in tools/getTools.go
codacy-production / Codacy Static Code Analysis
tools/getTools.go#L33
exported function GetRepositoryTools should have comment or be unexported
Check failure on line 18 in tools/language_config.go
codacy-production / Codacy Static Code Analysis
tools/language_config.go#L18
Method CreateLanguagesConfigFile has 101 lines of code (limit is 100)
Check failure on line 18 in tools/language_config.go
codacy-production / Codacy Static Code Analysis
tools/language_config.go#L18
Method CreateLanguagesConfigFile has a cyclomatic complexity of 16 (limit is 10)
Check warning on line 142 in tools/language_config.go
codacy-production / Codacy Static Code Analysis
tools/language_config.go#L142
Method getRepositoryLanguages has a cyclomatic complexity of 8 (limit is 7)