Showing 4 of 18 total issues
Function convertToEntries
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func convertToEntries(tableName string, ownerUUID UUID, rowID uint32, v reflect.Value, includeData bool) []Entry {
Function convertToEntries
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func convertToEntries(tableName string, ownerUUID UUID, rowID uint32, v reflect.Value, includeData bool) []Entry {
Function convertFromBytes
has 5 return statements (exceeds 4 allowed). Open
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")
}
Function convertFromBytes
has 5 return statements (exceeds 4 allowed). Open
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")
}