fix: fix goline error

This commit is contained in:
dudaodong committed 2023-03-01 11:10:12 +08:00
1 parent 66efe61834
commit 081908bce3
6 files changed
+31 -20

No files matched your search

+1 -1
View File
@@ -347,7 +347,7 @@ func DeepClone[T any](src T) T {
func CopyProperties[T, U any](dst T, src U) (err error) {
defer func() {
if e := recover(); e != nil {
err = errors.New(fmt.Sprintf("%v", e))
err = fmt.Errorf("%v", e)
}
}()