提交 2293253d 编写于 作者: W wenxu12345

tidy code

上级 1cb7b6a6
......@@ -8,7 +8,7 @@ import (
// copy a by b b->a
func CopyStructFields(a interface{}, b interface{}, fields ...string) (err error) {
copier.Copy(&a, &b)
copier.Copy(a, &b)
at := reflect.TypeOf(a)
av := reflect.ValueOf(a)
bt := reflect.TypeOf(b)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册