libs

package
v0.0.0-...-b4ad947 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NODE_START = 1
	NODE_MID   = 2
	NODE_END   = 3
)

Variables

This section is empty.

Functions

func FindWord

func FindWord(text string) []string

func Init

func Init()

func StartMonitor

func StartMonitor(path string)

Types

type Words

type Words struct {
	// contains filtered or unexported fields
}

func (*Words) Add

func (this *Words) Add(word string)

func (*Words) AddCommon

func (this *Words) AddCommon(word string, nowNode map[string]interface{})

func (*Words) Find

func (this *Words) Find(str string) []string

func (*Words) Init

func (this *Words) Init(path string)

func (*Words) InitCommon

func (this *Words) InitCommon(path string)

func (*Words) ReAdd

func (this *Words) ReAdd(word string)

func (*Words) ReInit

func (this *Words) ReInit(path string)

Jump to

Keyboard shortcuts

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