rules

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Violation

type Violation struct {
	Path string
	Msg  string
}

func CheckAssertExists

func CheckAssertExists(assertSet bool, path string) *Violation

func CheckAssertSignature

func CheckAssertSignature(params, results string, path string) *Violation

func CheckChainHasRun

func CheckChainHasRun(runSource string, assertPath string) *Violation

func CheckChildNoRedefine

func CheckChildNoRedefine(types map[string]bool, path string, ancestorDepth int) *Violation

func CheckGoBlockIsFinal

func CheckGoBlockIsFinal(isFinal bool, path string) *Violation

func CheckHasGoBlock

func CheckHasGoBlock(goBlockSet bool, path string) *Violation

func CheckRootHasGoBlock

func CheckRootHasGoBlock(goBlockSet bool, path string) *Violation

func CheckRootHasRequestResponse

func CheckRootHasRequestResponse(types map[string]bool, path string) *Violation

func CheckRootHasSetupOrRun

func CheckRootHasSetupOrRun(setupSet, runSet bool, path string) *Violation

func CheckRunSignature

func CheckRunSignature(params, results string, path string) *Violation

func CheckSetupBodyNotStub

func CheckSetupBodyNotStub(body string, path string) *Violation

func CheckSetupSignature

func CheckSetupSignature(params, results string, path string) *Violation

Jump to

Keyboard shortcuts

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