-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstructs.go
More file actions
132 lines (103 loc) · 1.93 KB
/
structs.go
File metadata and controls
132 lines (103 loc) · 1.93 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
package main
import (
"github.com/joemahmah/gopher-write/common"
"github.com/joemahmah/gopher-write/story"
)
type DataTransferText struct {
Data string
}
type DataTransferInt struct {
Data int
}
type DataTransferTextSlice struct {
Data []string
}
type DataTransferIntSlice struct {
Data []int
}
type DualString struct {
S1 string
S2 string
}
type DataTransferDualString struct {
Data DualString
}
type DataTransferDualStringSlice struct {
Data []DualString
}
type DualInt struct {
I1 int
I2 int
}
type DataTransferDualInt struct {
Data DualInt
}
type DataTransferDualIntSlice struct {
Data []DualInt
}
type DualStringMonoBool struct {
S1 string
S2 string
B bool
}
type DataTransferDualStringMonoBool struct {
Data DualStringMonoBool
}
type DataTransferDualStringMonoBoolSlice struct {
Data []DualStringMonoBool
}
type DualStringMonoIntMonoBool struct {
S1 string
S2 string
I int
B bool
}
type DataTransferDualStringMonoIntMonoBool struct {
Data DualStringMonoIntMonoBool
}
type DataTransferDualStringMonoIntMonoBoolSlice struct {
Data []DualStringMonoIntMonoBool
}
type MonoStringMonoInt struct {
S string
I int
}
type DataTransferMonoStringMonoInt struct {
Data MonoStringMonoInt
}
type DataTransferMonoStringMonoIntSlice struct {
Data []MonoStringMonoInt
}
type MonoStringDualInt struct {
S string
I1 int
I2 int
}
type DataTransferMonoStringDualInt struct {
Data MonoStringDualInt
}
type DataTransferMonoStringDualIntSlice struct {
Data []MonoStringDualInt
}
type MonoIntMonoName struct {
I int
Name common.Name
}
type DataTransferMonoIntMonoName struct {
Data MonoIntMonoName
}
type DataTransferMonoIntMonoNameSlice struct {
Data []MonoIntMonoName
}
////////////////////
// Export Structs //
////////////////////
type ExportChapter struct {
Chapter story.Chapter
Sections []story.Section
}
type ExportStory struct {
Story story.Story
Chapters []story.Chapter
Sections [][]story.Section
}