model

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package model defines the core data structures used throughout the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notification

type Notification struct {
	Unread     bool   // Whether the notification is unread
	ID         string // Unique identifier for the notification
	Repository string // Full repository name (owner/repo)
	Title      string // Notification title/subject
	Reason     string // Why the user received this (assigned, mentioned, etc.)
	Type       string // Notification type (Issue, PullRequest, etc.)
	HTMLURL    string // Browser URL to view the notification
	UpdatedAt  string // Last update timestamp in human-readable format
}

Notification represents a simplified GitHub notification. It provides a stable interface independent of the GitHub API response structure. See: https://docs.github.com/en/rest/activity/notifications

Jump to

Keyboard shortcuts

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