senstive

package
v2.10.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL