mirror of
https://github.com/mgechev/revive.git
synced 2025-07-17 01:12:27 +02:00
refactor: removes get
from getters names (#1373)
This commit is contained in:
@ -12,7 +12,14 @@ func (p *LintPattern) IsExclude() bool {
|
||||
}
|
||||
|
||||
// GetPattern - returns the actual pattern
|
||||
//
|
||||
// Deprecated: Use [Pattern].
|
||||
func (p *LintPattern) GetPattern() string {
|
||||
return p.Pattern()
|
||||
}
|
||||
|
||||
// Pattern - returns the actual pattern
|
||||
func (p *LintPattern) Pattern() string {
|
||||
return p.pattern
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user