read

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package read implements an [actions.Runner] that marks a notification as read.

It updates Unread and marks the notification's thread as read on GitHub. Ref: https://docs.github.com/en/rest/activity/notifications?apiVersion=2022-11-28#mark-a-thread-as-read

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	Client *gh.Client
}

func (*Runner) Run

func (a *Runner) Run(n *notifications.Notification, _ []string, w io.Writer) error

Jump to

Keyboard shortcuts

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