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