tauraamui/bluepanda

View on GitHub
pkg/kvs/entry.go

Summary

Maintainability
A
1 hr
Test Coverage

Function convertToEntries has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

func convertToEntries(tableName string, ownerUUID UUID, rowID uint32, v reflect.Value, includeData bool) []Entry {
Severity: Minor
Found in pkg/kvs/entry.go - About 35 mins to fix

    Function convertFromBytes has 5 return statements (exceeds 4 allowed).
    Open

    func convertFromBytes(data []byte, i interface{}) error {
        // Check that the destination argument is a pointer.
        if reflect.TypeOf(i).Kind() != reflect.Ptr {
            return fmt.Errorf("destination must be a pointer")
        }
    Severity: Major
    Found in pkg/kvs/entry.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status