(t *testing.T)
| 94 | } |
| 95 | |
| 96 | func TestEmbeddedSimple(t *testing.T) { |
| 97 | type UUID [16]byte |
| 98 | type MyID struct { |
| 99 | UUID |
| 100 | } |
| 101 | type Item struct { |
| 102 | ID MyID |
| 103 | } |
| 104 | z := Item{} |
| 105 | |
| 106 | m := NewMapper("db") |
| 107 | m.TypeMap(reflect.TypeOf(z)) |
| 108 | } |
| 109 | |
| 110 | func TestBasicEmbeddedWithTags(t *testing.T) { |
| 111 | type Foo struct { |