-
Notifications
You must be signed in to change notification settings - Fork 0
/
imported_gen.go
64 lines (56 loc) · 1.24 KB
/
imported_gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// Code generated by "go-gen-slice-accessors"; DO NOT EDIT.
// Based on information from https://github.com/snamiki1212/go-gen-slice-accessors
package main
import (
"bytes"
alias_bytes "bytes"
"time"
)
// Buf1s
func (xs Importeds) Buf1s() []bytes.Buffer {
sli := make([]bytes.Buffer, 0, len(xs))
for i := range xs {
sli = append(sli, xs[i].Buf1)
}
return sli
}
// AliasBuf1s
func (xs Importeds) AliasBuf1s() []alias_bytes.Buffer {
sli := make([]alias_bytes.Buffer, 0, len(xs))
for i := range xs {
sli = append(sli, xs[i].AliasBuf1)
}
return sli
}
// ValMonth1s
func (xs Importeds) ValMonth1s() []time.Month {
sli := make([]time.Month, 0, len(xs))
for i := range xs {
sli = append(sli, xs[i].ValMonth1)
}
return sli
}
// ValMonth2s
func (xs Importeds) ValMonth2s() []time.Month {
sli := make([]time.Month, 0, len(xs))
for i := range xs {
sli = append(sli, xs[i].ValMonth2)
}
return sli
}
// PtrTime1s
func (xs Importeds) PtrTime1s() []*time.Time {
sli := make([]*time.Time, 0, len(xs))
for i := range xs {
sli = append(sli, xs[i].PtrTime1)
}
return sli
}
// PtrTime2s
func (xs Importeds) PtrTime2s() []*time.Time {
sli := make([]*time.Time, 0, len(xs))
for i := range xs {
sli = append(sli, xs[i].PtrTime2)
}
return sli
}