codeowners

package
v0.71.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package codeowners provides a parser for CODEOWNERS files

A CODEOWNERS file defines which reviewers are required for various files within a repository. The file format is similar to gitignore.

GitHub searches for the CODEOWNERS file in the following priority order relative to the repository root:

  • .github/CODEOWNERS
  • CODEOWNERS
  • docs/CODEOWNERS

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct{}

Parser is a CODEOWNERS file parser.

func (*Parser) Unmarshal

func (p *Parser) Unmarshal(data []byte, v any) error

Unmarshal unmarshals a CODEOWNERS file.

Jump to

Keyboard shortcuts

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