I've go the following struct which i would think should trigger duplicate word detection. After skimming the code I think the duplicate aren't found for two major reasons.
camel case identifiers aren't split into separate words
struct fields / tags aren't inspected
type UnderwritingCardVolumeDistribution struct {
CardPresentPercentagePercentage int64 `json:"cardPresentPercentage,omitempty"` // want `Duplicate words \(Percentage\) found`
CardPresentPercentage int64 `json:"cardPresentPercentagePercentage,omitempty"` // want `Duplicate words \(Percentage\) found`
}
Thanks for the suggestion, it's true that the current release didn't handle CamelCase words, and it's true that we should try to add this feature in the next release.
I've go the following struct which i would think should trigger duplicate word detection. After skimming the code I think the duplicate aren't found for two major reasons.