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

github

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package github builds GitHub Actions workflow-command annotations - the ::error/::warning/::notice lines a workflow parses from a step's output to surface a message inline on a pull request.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(file string, line int, msg string) string

Error returns an ::error workflow annotation locating msg at file:line. An empty file omits the location; a non-positive line omits just the line. file and msg are escaped per the workflow-command grammar. The result carries no trailing newline.

func Notice

func Notice(file string, line int, msg string) string

Notice returns a ::notice workflow annotation; see Error.

func Warning

func Warning(file string, line int, msg string) string

Warning returns a ::warning workflow annotation; see Error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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