Help us shape the future of Go! Take the 2026 Go Developer Survey

codeowners

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Lint

func Lint(fs _fs.FS, errors Errors, opts LintOptions) error

Types

type Error

type Error struct {
	Kind   ErrorKind
	Line   int
	Column int
	Source string
	Path   string
}

func (Error) UnknownOwner

func (e Error) UnknownOwner() string

type ErrorKind

type ErrorKind string
const (
	ErrorKindUnknownOwner ErrorKind = "Unknown owner"
)

type Errors

type Errors []Error

func (Errors) Path

func (e Errors) Path() string

func (Errors) UnknownOwners

func (e Errors) UnknownOwners() []string

type LintOptions

type LintOptions struct {
	Console console.Console
	Fix     bool
}

Jump to

Keyboard shortcuts

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