From 5b5e67774960aa0ba2a9df80c77c4c69a0980897 Mon Sep 17 00:00:00 2001 From: MDietermann Date: Mon, 13 Apr 2026 19:21:13 +0200 Subject: [PATCH] chore: go mod tidy, pin go 1.22, clarify module path in plan --- docs/superpowers/plans/2026-04-13-installer-foundation.md | 2 +- go.mod | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/superpowers/plans/2026-04-13-installer-foundation.md b/docs/superpowers/plans/2026-04-13-installer-foundation.md index 4e47867..a3f9543 100644 --- a/docs/superpowers/plans/2026-04-13-installer-foundation.md +++ b/docs/superpowers/plans/2026-04-13-installer-foundation.md @@ -14,7 +14,7 @@ ## Conventions used throughout this plan -- **Module path:** `github.com/MDietermann/archduino`. If your GitHub owner/repo is different, adjust `go.mod` and all import paths in Task 1 and keep the rest of the plan consistent. +- **Module path:** `github.com/MDietermann/ArduinoArchSetup` (matches the existing GitHub repo name). All `import` statements in subsequent tasks must use this prefix. If a code snippet later in this document shows `github.com/MDietermann/archduino`, treat it as an editing artifact and substitute `github.com/MDietermann/ArduinoArchSetup`. - **Go version:** 1.22 or newer. All code targets 1.22 features (e.g. `slices`, `range` over integers is not required but allowed). - **Test style:** table-driven with `t.Run(tc.name, ...)` subtests; no external assertion libraries. - **Commits:** one commit per completed task (after tests pass). Message format: `feat(scope): short summary` or `test(scope): ...`, `chore(scope): ...` as appropriate. diff --git a/go.mod b/go.mod index 2fae689..7c7c3f6 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,10 @@ module github.com/MDietermann/ArduinoArchSetup -go 1.26.2 +go 1.22 + +require github.com/spf13/cobra v1.10.2 require ( github.com/inconshreveable/mousetrap v1.1.0 // indirect - github.com/spf13/cobra v1.10.2 // indirect github.com/spf13/pflag v1.0.9 // indirect )