github.com/daixiang0/gci@v0.13.0/pkg/specificity/mismatch.go (about) 1 package specificity 2 3 type MisMatch struct{} 4 5 func (m MisMatch) IsMoreSpecific(than MatchSpecificity) bool { 6 return isMoreSpecific(m, than) 7 } 8 9 func (m MisMatch) Equal(to MatchSpecificity) bool { 10 return equalSpecificity(m, to) 11 } 12 13 func (m MisMatch) class() specificityClass { 14 return MisMatchClass 15 } 16 17 func (m MisMatch) String() string { 18 return "Mismatch" 19 }