rueian/rueidis

View on GitHub
rueidis.go

Summary

Maintainability
A
40 mins
Test Coverage
A
100%

Function NewClient has 6 return statements (exceeds 4 allowed).
Open

func NewClient(option ClientOption) (client Client, err error) {
    if option.ReadBufferEachConn < 32 { // the buffer should be able to hold an int64 string at least
        option.ReadBufferEachConn = DefaultReadBuffer
    }
    if option.WriteBufferEachConn < 32 {
Severity: Major
Found in rueidis.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status