lgtm

package
v0.0.0-...-b41f85f Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// LGTMRegexp matches /lgtm command at the start of a line
	LGTMRegexp = regexp.MustCompile(`(?m)^/lgtm\b`)

	// RemoveLGTMRegexp matches /remove-lgtm command at the start of a line
	RemoveLGTMRegexp = regexp.MustCompile(`(?m)^/remove-lgtm\b`)

	// LGTMCancelRegexp matches /lgtm cancel command at the start of a line
	LGTMCancelRegexp = regexp.MustCompile(`(?m)^/lgtm cancel\b`)
)

Pre-compiled regular expressions for LGTM commands to avoid repeated compilation These patterns support both single-line and multiline comments using the (?m) flag

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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