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
|
// Code generated by "stringer -type=Status,Reason -output verify_string.go verify.go"; DO NOT EDIT.
package skate
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[StatusUnknown-0]
_ = x[StatusExact-1]
_ = x[StatusStrong-2]
_ = x[StatusWeak-3]
_ = x[StatusDifferent-4]
_ = x[StatusAmbiguous-5]
_ = x[StatusUnmatched-6]
}
const _Status_name = "StatusUnknownStatusExactStatusStrongStatusWeakStatusDifferentStatusAmbiguousStatusUnmatched"
var _Status_index = [...]uint8{0, 13, 24, 36, 46, 61, 76, 91}
func (i Status) String() string {
if i < 0 || i >= Status(len(_Status_index)-1) {
return "Status(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Status_name[_Status_index[i]:_Status_index[i+1]]
}
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[ReasonAppendix-7]
_ = x[ReasonArxiv-8]
_ = x[ReasonArxivVersion-9]
_ = x[ReasonBlacklisted-10]
_ = x[ReasonBlacklistedFragment-11]
_ = x[ReasonBookChapter-12]
_ = x[ReasonChemFormula-13]
_ = x[ReasonComponent-14]
_ = x[ReasonContainer-15]
_ = x[ReasonContainerNameBlacklist-16]
_ = x[ReasonContribIntersectionEmpty-17]
_ = x[ReasonCustomBSISubdoc-18]
_ = x[ReasonCustomBSIUndated-19]
_ = x[ReasonCustomIEEEArxiv-20]
_ = x[ReasonCustomIOPMAPattern-21]
_ = x[ReasonCustomPrefix1014288-22]
_ = x[ReasonCustomPrefix105860ChoiceReview-23]
_ = x[ReasonCustomPrefix107916-24]
_ = x[ReasonCustomVHS-25]
_ = x[ReasonDOI-26]
_ = x[ReasonDataciteRelatedID-27]
_ = x[ReasonDataciteVersion-28]
_ = x[ReasonDatasetDOI-29]
_ = x[ReasonFigshareVersion-30]
_ = x[ReasonISBN-31]
_ = x[ReasonJaccardAuthors-32]
_ = x[ReasonJstorID-33]
_ = x[ReasonMaxClusterSizeExceeded-34]
_ = x[ReasonNumDiff-35]
_ = x[ReasonPMCID-36]
_ = x[ReasonPMID-37]
_ = x[ReasonPMIDDOIPair-38]
_ = x[ReasonPageCount-39]
_ = x[ReasonPreprintPublished-40]
_ = x[ReasonPublisherBlacklist-41]
_ = x[ReasonReleaseType-42]
_ = x[ReasonSharedDOIPrefix-43]
_ = x[ReasonShortTitle-44]
_ = x[ReasonSingularCluster-45]
_ = x[ReasonSlugTitleAuthorMatch-46]
_ = x[ReasonSubtitle-47]
_ = x[ReasonTitleArtifact-48]
_ = x[ReasonTitleAuthorMatch-49]
_ = x[ReasonTitleFilename-50]
_ = x[ReasonTokenizedAuthors-51]
_ = x[ReasonURLMatch-52]
_ = x[ReasonUnknown-53]
_ = x[ReasonVersionedDOI-54]
_ = x[ReasonWorkID-55]
_ = x[ReasonYear-56]
}
const _Reason_name = "ReasonAppendixReasonArxivReasonArxivVersionReasonBlacklistedReasonBlacklistedFragmentReasonBookChapterReasonChemFormulaReasonComponentReasonContainerReasonContainerNameBlacklistReasonContribIntersectionEmptyReasonCustomBSISubdocReasonCustomBSIUndatedReasonCustomIEEEArxivReasonCustomIOPMAPatternReasonCustomPrefix1014288ReasonCustomPrefix105860ChoiceReviewReasonCustomPrefix107916ReasonCustomVHSReasonDOIReasonDataciteRelatedIDReasonDataciteVersionReasonDatasetDOIReasonFigshareVersionReasonISBNReasonJaccardAuthorsReasonJstorIDReasonMaxClusterSizeExceededReasonNumDiffReasonPMCIDReasonPMIDReasonPMIDDOIPairReasonPageCountReasonPreprintPublishedReasonPublisherBlacklistReasonReleaseTypeReasonSharedDOIPrefixReasonShortTitleReasonSingularClusterReasonSlugTitleAuthorMatchReasonSubtitleReasonTitleArtifactReasonTitleAuthorMatchReasonTitleFilenameReasonTokenizedAuthorsReasonURLMatchReasonUnknownReasonVersionedDOIReasonWorkIDReasonYear"
var _Reason_index = [...]uint16{0, 14, 25, 43, 60, 85, 102, 119, 134, 149, 177, 207, 228, 250, 271, 295, 320, 356, 380, 395, 404, 427, 448, 464, 485, 495, 515, 528, 556, 569, 580, 590, 607, 622, 645, 669, 686, 707, 723, 744, 770, 784, 803, 825, 844, 866, 880, 893, 911, 923, 933}
func (i Reason) String() string {
i -= 7
if i < 0 || i >= Reason(len(_Reason_index)-1) {
return "Reason(" + strconv.FormatInt(int64(i+7), 10) + ")"
}
return _Reason_name[_Reason_index[i]:_Reason_index[i+1]]
}
|