48 lines
1.3 KiB
Markdown
48 lines
1.3 KiB
Markdown
# Task 0.1.1: Initialize Go Module
|
|
|
|
## Metadata
|
|
- **Task ID**: 0.1.1
|
|
- **Title**: Initialize Go Module
|
|
- **Phase**: 0 - Project Setup & Foundation
|
|
- **Section**: 0.1 Repository Bootstrap
|
|
- **Status**: Pending
|
|
- **Priority**: High
|
|
- **Estimated Time**: 5 minutes
|
|
- **Dependencies**: None
|
|
|
|
## Description
|
|
Initialize the Go module with the correct module path for the platform.
|
|
|
|
## Requirements
|
|
- Use module path: `git.dcentral.systems/toolz/goplt`
|
|
- Go version: 1.24.3
|
|
- Ensure `go.mod` file is created correctly
|
|
|
|
## Implementation Steps
|
|
1. Run `go mod init git.dcentral.systems/toolz/goplt` in the project root
|
|
2. Verify `go.mod` file is created with correct module path
|
|
3. Set Go version in `go.mod`: `go 1.24`
|
|
|
|
## Acceptance Criteria
|
|
- [ ] `go.mod` file exists in project root
|
|
- [ ] Module path is `git.dcentral.systems/toolz/goplt`
|
|
- [ ] Go version is set to `1.24`
|
|
- [ ] `go mod verify` passes
|
|
|
|
## Related ADRs
|
|
- [ADR-0001: Go Module Path](../../adr/0001-go-module-path.md)
|
|
- [ADR-0002: Go Version](../../adr/0002-go-version.md)
|
|
|
|
## Implementation Notes
|
|
- Ensure the module path matches the organization's Git hosting structure
|
|
- The module path will be used for all internal imports
|
|
- Update any documentation that references placeholder module paths
|
|
|
|
## Testing
|
|
```bash
|
|
# Verify module initialization
|
|
go mod verify
|
|
go mod tidy
|
|
```
|
|
|