Phase 0.1: Go module cleanup and project layout #2

Open
opened 2026-06-07 22:43:29 -06:00 by ppreeper · 0 comments
Owner

Description

The Go conversion currently lives under go/ with a mix of root-level files and go/code/ and go/data/ packages. Need to normalize the project layout for a web application.

Tasks

  • Move go/ contents to repo root (or restructure to standard Go project layout)
  • Fix go.mod module path from bygfootgo to git.preeper.org/ppreeper/bygfoot
  • Ensure go vet and go build pass (at minimum)
  • Resolve circular imports between packages (currently everything is package main)
  • Decide on final package structure: pkg/game/ for engine, cmd/server/ for web server

Acceptance Criteria

  • go build ./... compiles successfully
  • go vet ./... passes
  • Module path matches the repository URL
## Description The Go conversion currently lives under `go/` with a mix of root-level files and `go/code/` and `go/data/` packages. Need to normalize the project layout for a web application. ## Tasks - [ ] Move `go/` contents to repo root (or restructure to standard Go project layout) - [ ] Fix `go.mod` module path from `bygfootgo` to `git.preeper.org/ppreeper/bygfoot` - [ ] Ensure `go vet` and `go build` pass (at minimum) - [ ] Resolve circular imports between packages (currently everything is `package main`) - [ ] Decide on final package structure: `pkg/game/` for engine, `cmd/server/` for web server ## Acceptance Criteria - `go build ./...` compiles successfully - `go vet ./...` passes - Module path matches the repository URL
ppreeper added this to the Phase 0 milestone 2026-06-07 22:50:12 -06:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ppreeper/bygfoot#2
No description provided.