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

util

package
v0.48.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalizeIssueType

func NormalizeIssueType(t string) string

NormalizeIssueType expands type aliases to their canonical forms. For example: "mr" -> "merge-request", "feat" -> "feature", "mol" -> "molecule" Returns the input unchanged if it's not an alias.

func NormalizeLabels

func NormalizeLabels(ss []string) []string

NormalizeLabels trims whitespace, removes empty strings, and deduplicates labels while preserving order.

Types

This section is empty.

Jump to

Keyboard shortcuts

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