Fix lint errors: handle errors, use fmt.Fprintf, apply De Morgan's law, use switch statements

Amp-Thread-ID: https://ampcode.com/threads/T-afcf56b0-a8bc-4310-bb59-1b63e1d70c89
Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Steve Yegge
2025-10-24 12:27:02 -07:00
parent 1d5e89b9bb
commit 9dcb86ebfb
17 changed files with 342 additions and 537 deletions

View File

@@ -16,7 +16,8 @@ import (
"github.com/steveyegge/beads/internal/types"
)
// Core types for working with issues
// Issue represents a tracked work item with metadata, dependencies, and status.
// Status represents the current state of an issue (open, in progress, closed, blocked).
type (
Issue = types.Issue
Status = types.Status