rule

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseRuler

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

func New

func New(moduleName ...string) *BaseRuler

func (*BaseRuler) IsIntro

func (r *BaseRuler) IsIntro(_f any) bool

func (*BaseRuler) IsSink

func (r *BaseRuler) IsSink(_f any) bool

func (*BaseRuler) IsSource

func (r *BaseRuler) IsSource(_f any) bool

type Ruler

type Ruler interface {
	IsSink(any) bool
	IsSource(any) bool
	IsIntro(any) bool
}

Jump to

Keyboard shortcuts

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