types

package
v0.0.0-...-9025ec3 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IgnoreComment = "goimmutablelint:ignore"
	CheckComment  = "goimmutablelint:check"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Issue

type Issue struct {
	FromLinter string `json:"FromLinter"`
	Text       string `json:"Text"`
	Pos        struct {
		Filename string `json:"Filename"`
		Offset   int    `json:"Offset"`
		Line     int    `json:"Line"`
		Column   int    `json:"Column"`
	} `json:"Pos"`
}

type Output

type Output struct {
	Issues []Issue `json:"Issues"`
	Report struct {
		Warnings int `json:"Warnings"`
		Errors   int `json:"Errors"`
	} `json:"Report"`
}

Jump to

Keyboard shortcuts

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