99962b295f
A Go module under tools/local-dev/legacy-report that converts the "dg" / "gplus" engine .REP files in tools/local-dev/reports/ into the JSON shape of pkg/model/report.Report. The output drives a DEV-only synthetic-mode loader on the UI lobby so the map, inspectors, and order-overlay can be exercised against rich game states without playing many turns end-to-end. Scope is intentionally narrow: only the fields the UI client decodes today (planets, players, own ship classes, header). Importing pkg/model/report keeps the parser and the typed contract in lockstep — any backwards-incompatible schema change breaks the tool's compilation before it ships. The README spells out the parity rule for extending the parser alongside future UI decoders. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
41 lines
823 B
Plaintext
41 lines
823 B
Plaintext
go 1.26.2
|
|
|
|
use (
|
|
./backend
|
|
./client
|
|
./game
|
|
./gateway
|
|
./integration
|
|
./pkg/calc
|
|
./pkg/connector
|
|
./pkg/cronutil
|
|
./pkg/error
|
|
./pkg/geoip
|
|
./pkg/model
|
|
./pkg/postgres
|
|
./pkg/redisconn
|
|
./pkg/schema
|
|
./pkg/storage
|
|
./pkg/transcoder
|
|
./pkg/util
|
|
./tools/local-dev/legacy-report
|
|
./ui/core
|
|
./ui/wasm
|
|
)
|
|
|
|
replace (
|
|
galaxy/calc v0.0.0 => ./pkg/calc
|
|
galaxy/connector v0.0.0 => ./pkg/connector
|
|
galaxy/core v0.0.0 => ./ui/core
|
|
galaxy/cronutil v0.0.0 => ./pkg/cronutil
|
|
galaxy/error v0.0.0 => ./pkg/error
|
|
galaxy/geoip v0.0.0 => ./pkg/geoip
|
|
galaxy/model v0.0.0 => ./pkg/model
|
|
galaxy/postgres v0.0.0 => ./pkg/postgres
|
|
galaxy/redisconn v0.0.0 => ./pkg/redisconn
|
|
galaxy/schema v0.0.0 => ./pkg/schema
|
|
galaxy/storage v0.0.0 => ./pkg/storage
|
|
galaxy/transcoder v0.0.0 => ./pkg/transcoder
|
|
galaxy/util v0.0.0 => ./pkg/util
|
|
)
|