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

roles

package
v0.1.26 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package roles exposes the fixed build-owned review role inventory.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Availability

type Availability string
const (
	AvailabilityAllProjects Availability = "all_projects"
	AvailabilityUIProjects  Availability = "ui_projects"
)

type Role

type Role struct {
	ID           string       `json:"id"`
	Mandatory    bool         `json:"mandatory"`
	Availability Availability `json:"availability"`
}

func ListRoles

func ListRoles() []Role

ListRoles returns every built-in role in canonical order.

Jump to

Keyboard shortcuts

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