@ -143,11 +143,11 @@ func add(nd *node, route string, item interface{}) error {
}
return ErrInvalidState
} else {
child := newNode(nil)
children[token] = child
return add(child, route[i+1:], item)
@ -217,18 +217,18 @@ func unmarshalRows(v interface{}, scanner rowsScanner, strict bool) error {
if err := scanner.Scan(values...); err != nil {
return err
appendFn(value)
default:
return ErrUnsupportedValueType
return nil
return ErrNotSettable