leaks

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	GetAllRules() (rules []engine.Rule)
	GetTextUnitByRulesExt(projectPath string) ([]engine.Unit, error)
}

func NewRules

func NewRules() Interface

type Rules

type Rules struct{}

func (*Rules) GetAllRules

func (r *Rules) GetAllRules() (rules []engine.Rule)

func (*Rules) GetTextUnitByRulesExt

func (r *Rules) GetTextUnitByRulesExt(projectPath string) ([]engine.Unit, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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