check

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check() *journal.Processor

Checker checks the journal (with default options).

Types

type Checker

type Checker struct {
	Write   bool
	NoCheck bool
	// contains filtered or unexported fields
}

func (*Checker) Assertions

func (ch *Checker) Assertions() []*model.Assertion

func (*Checker) Check

func (ch *Checker) Check() *journal.Processor

type Error

type Error struct {
	Directive model.Directive
	Msg       string
}

Error is a processing error, with a reference to a directive with a source location.

func (Error) Error

func (be Error) Error() string

Jump to

Keyboard shortcuts

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