chore: go mod tidy, pin go 1.22, clarify module path in plan
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
## Conventions used throughout this plan
|
## 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).
|
- **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.
|
- **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.
|
- **Commits:** one commit per completed task (after tests pass). Message format: `feat(scope): short summary` or `test(scope): ...`, `chore(scope): ...` as appropriate.
|
||||||
|
|||||||
5
go.mod
5
go.mod
@@ -1,9 +1,10 @@
|
|||||||
module github.com/MDietermann/ArduinoArchSetup
|
module github.com/MDietermann/ArduinoArchSetup
|
||||||
|
|
||||||
go 1.26.2
|
go 1.22
|
||||||
|
|
||||||
|
require github.com/spf13/cobra v1.10.2
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
||||||
github.com/spf13/cobra v1.10.2 // indirect
|
|
||||||
github.com/spf13/pflag v1.0.9 // indirect
|
github.com/spf13/pflag v1.0.9 // indirect
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user