1
0
mirror of https://github.com/charlienet/go-mixed.git synced 2025-07-18 08:32:40 +08:00
This commit is contained in:
2022-04-24 17:06:40 +08:00
parent d3f727e54d
commit 78c957c98e
10 changed files with 270 additions and 83 deletions

View File

@ -6,7 +6,7 @@ func TestCopy(t *testing.T) {
v1 := struct{ Abc string }{Abc: "abc"}
v2 := struct{ Abc string }{}
Copy(v1, v2, IgnoreEmpty())
Copy(v1, &v2, IgnoreEmpty())
t.Log(v2)
}