section

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: MIT Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package section places a finding in the review body's sections, so that every surface presents findings in the order the published review will.

Index

Constants

View Source
const (
	Issue = iota
	Suggestion
	Question
	Other
)

The label groups, in the order that breaks ties inside a section and that the chips row counts in. Other collects every unknown or empty label.

Variables

This section is empty.

Functions

func Group

func Group(label string) int

Group is a finding's label group, ignoring whether it blocks.

func Rank

func Rank(blocking bool) int

Rank is where a finding sits among the body's two sections: Must fix for a blocking finding whatever its label, then Worth a look for the rest. It is the first key of the order every surface presents findings in.

Types

This section is empty.

Jump to

Keyboard shortcuts

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