Home | History | Annotate | Download | only in gob

Lines Matching refs:dt

1323 type DT struct {
1336 func newDT() DT {
1337 var dt DT
1338 dt.A = 17
1339 dt.B = "hello"
1340 dt.C = 3.14159
1341 dt.I = 271828
1342 dt.J = OnTheFly{3}
1343 dt.I_nil = nil
1344 dt.M = map[string]int{"one": 1, "two": 2}
1345 dt.T = [3]int{11, 22, 33}
1346 dt.S = []string{"hi", "joe"}
1347 return dt
1355 dt := newDT()
1357 err := NewEncoder(b).Encode(dt)
1362 dt2 := &DT{}
1441 dt := newDT()
1442 if err := NewEncoder(buf).Encode(dt); err != nil {
1462 var e DT