|
@@ -958,7 +958,7 @@ func (engine *Engine) mapType(v reflect.Value) (*core.Table, error) {
|
|
|
}
|
|
}
|
|
|
if pStart > -1 {
|
|
if pStart > -1 {
|
|
|
if !strings.HasSuffix(k, ")") {
|
|
if !strings.HasSuffix(k, ")") {
|
|
|
- return nil, errors.New("cannot match ) charactor")
|
|
|
|
|
|
|
+ return nil, fmt.Errorf("field %s tag %s cannot match ) charactor", col.FieldName, key)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
ctx.tagName = k[:pStart]
|
|
ctx.tagName = k[:pStart]
|