Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SenstiveFilter ¶
type SenstiveFilter struct {
// contains filtered or unexported fields
}
func NewSenstiveFilter ¶
func NewSenstiveFilter(texts []string) *SenstiveFilter
func NewSenstiveFilterWithFile ¶
func NewSenstiveFilterWithFile(path string) *SenstiveFilter
func (*SenstiveFilter) Contains ¶
func (f *SenstiveFilter) Contains(word string) bool
func (*SenstiveFilter) Remove ¶
func (f *SenstiveFilter) Remove(word string)
func (*SenstiveFilter) Replace ¶
func (f *SenstiveFilter) Replace(word string) string
Click to show internal directories.
Click to hide internal directories.