topfreegames/khan

View on GitHub
es/es_client.go

Summary

Maintainability
A
1 hr
Test Coverage

Function GetTestClient has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

func GetTestClient(host string, port int, index string, sniff bool, logger zap.Logger, debug bool) *Client {
Severity: Minor
Found in es/es_client.go - About 45 mins to fix

    Function GetClient has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func GetClient(host string, port int, index string, sniff bool, logger zap.Logger, debug bool) *Client {
    Severity: Minor
    Found in es/es_client.go - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status