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
|
// 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[ReasonUnknown-7]
_ = x[ReasonAppendix-8]
_ = x[ReasonArxiv-9]
_ = x[ReasonArxivVersion-10]
_ = x[ReasonBlacklisted-11]
_ = x[ReasonBlacklistedFragment-12]
_ = x[ReasonBookChapter-13]
_ = x[ReasonChemFormula-14]
_ = x[ReasonComponent-15]
_ = x[ReasonContainer-16]
_ = x[ReasonContainerNameBlacklist-17]
_ = x[ReasonContribIntersectionEmpty-18]
_ = x[ReasonCustomBSISubdoc-19]
_ = x[ReasonCustomBSIUndated-20]
_ = x[ReasonCustomIEEEArxiv-21]
_ = x[ReasonCustomIOPMAPattern-22]
_ = x[ReasonCustomPrefix1014288-23]
_ = x[ReasonCustomPrefix105860ChoiceReview-24]
_ = x[ReasonCustomPrefix107916-25]
_ = x[ReasonCustomVHS-26]
_ = x[ReasonDOI-27]
_ = x[ReasonDataciteRelatedID-28]
_ = x[ReasonDataciteVersion-29]
_ = x[ReasonDatasetDOI-30]
_ = x[ReasonFigshareVersion-31]
_ = x[ReasonISBN-32]
_ = x[ReasonJaccardAuthors-33]
_ = x[ReasonJstorID-34]
_ = x[ReasonMaxClusterSizeExceeded-35]
_ = x[ReasonNumDiff-36]
_ = x[ReasonPMCID-37]
_ = x[ReasonPMID-38]
_ = x[ReasonPMIDDOIPair-39]
_ = x[ReasonPageCount-40]
_ = x[ReasonPreprintPublished-41]
_ = x[ReasonPublisherBlacklist-42]
_ = x[ReasonReleaseType-43]
_ = x[ReasonSharedDOIPrefix-44]
_ = x[ReasonShortTitle-45]
_ = x[ReasonSingularCluster-46]
_ = x[ReasonSlugTitleAuthorMatch-47]
_ = x[ReasonSubtitle-48]
_ = x[ReasonTitleArtifact-49]
_ = x[ReasonTitleAuthorMatch-50]
_ = x[ReasonTitleFilename-51]
_ = x[ReasonTokenizedAuthors-52]
_ = x[ReasonVersionedDOI-53]
_ = x[ReasonWorkID-54]
_ = x[ReasonYear-55]
}
const _Reason_name = "ReasonUnknownReasonAppendixReasonArxivReasonArxivVersionReasonBlacklistedReasonBlacklistedFragmentReasonBookChapterReasonChemFormulaReasonComponentReasonContainerReasonContainerNameBlacklistReasonContribIntersectionEmptyReasonCustomBSISubdocReasonCustomBSIUndatedReasonCustomIEEEArxivReasonCustomIOPMAPatternReasonCustomPrefix1014288ReasonCustomPrefix105860ChoiceReviewReasonCustomPrefix107916ReasonCustomVHSReasonDOIReasonDataciteRelatedIDReasonDataciteVersionReasonDatasetDOIReasonFigshareVersionReasonISBNReasonJaccardAuthorsReasonJstorIDReasonMaxClusterSizeExceededReasonNumDiffReasonPMCIDReasonPMIDReasonPMIDDOIPairReasonPageCountReasonPreprintPublishedReasonPublisherBlacklistReasonReleaseTypeReasonSharedDOIPrefixReasonShortTitleReasonSingularClusterReasonSlugTitleAuthorMatchReasonSubtitleReasonTitleArtifactReasonTitleAuthorMatchReasonTitleFilenameReasonTokenizedAuthorsReasonVersionedDOIReasonWorkIDReasonYear"
var _Reason_index = [...]uint16{0, 13, 27, 38, 56, 73, 98, 115, 132, 147, 162, 190, 220, 241, 263, 284, 308, 333, 369, 393, 408, 417, 440, 461, 477, 498, 508, 528, 541, 569, 582, 593, 603, 620, 635, 658, 682, 699, 720, 736, 757, 783, 797, 816, 838, 857, 879, 897, 909, 919}
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]]
}
|