1
0
mirror of https://github.com/charlienet/go-mixed.git synced 2025-07-18 00:22:41 +08:00
Files
go-mixed/structs/copy_test.go
2022-04-22 14:30:37 +08:00

13 lines
179 B
Go

package structs
import "testing"
func TestCopy(t *testing.T) {
v1 := struct{ Abc string }{Abc: "abc"}
v2 := struct{ Abc string }{}
Copy(v1, v2, IgnoreEmpty())
t.Log(v2)
}