-
Notifications
You must be signed in to change notification settings - Fork 1
/
const.go
46 lines (42 loc) · 1.11 KB
/
const.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
package gomailtrain
const (
// UnSubscribeOneStep - One-step (i.e. no email with confirmation link)
UnSubscribeOneStep = 0
// UnSubscribeOneStepForm - One-step with unsubscription form (i.e. no email with confirmation link)
UnSubscribeOneStepForm = 1
// UnSubscribeTwoStep - Two-step (i.e. an email with confirmation link will be sent)
UnSubscribeTwoStep = 2
// UnSubscribeTwoStepForm - Two-step with unsubscription form (i.e. an email with confirmation link will be sent)
UnSubscribeTwoStepForm = 3
// UnSubscribeManual - Manual (i.e. unsubscription has to be performed by the list administrator)
UnSubscribeManual = 4
// FieldWizardNone .
FieldWizardNone = "none"
// FieldWizardFullName .
FieldWizardFullName = "full_name"
// FieldWizardFirstLastName .
FieldWizardFirstLastName = "first_last_name"
)
var (
brokenValues = []string{
"force_subscribe",
"require_confirmation",
"visable",
}
validFieldTypes = []string{
"text",
"website",
"longtext",
"gpg",
"number",
"radio",
"checkbox",
"dropdown",
"date-us",
"date-eur",
"birthday-us",
"birthday-eur",
"json",
"option",
}
)