go 1.26.3

use ./backend

use (
	./gateway
	./loadtest
	./pkg
	./platform/telegram
)

// The scrabble-solver engine is consumed in-process as a published, versioned Gitea
// module (gitea.iliadenisov.ru/developer/scrabble-solver, pinned in backend/go.mod). It
// is fetched directly from Gitea — set GOPRIVATE=gitea.iliadenisov.ru/* so go skips the
// public proxy/checksum DB. For local solver co-development, temporarily add:
//   replace gitea.iliadenisov.ru/developer/scrabble-solver => ../scrabble-solver

// scrabble/pkg holds the shared wire contracts (push proto + FlatBuffers edge
// payloads) imported by both backend and gateway. Its module path has no dot, so
// like scrabble-solver it cannot be fetched as a versioned dependency; the
// replace points the v0.0.0 require at the in-repo module directory.
replace scrabble/pkg v0.0.0 => ./pkg

// scrabble/gateway is required by the loadtest harness for the generated edge
// Connect client and proto envelope (gateway/proto/edge). Same dot-free reason as
// scrabble/pkg — the replace points its v0.0.0 require at the in-repo directory.
replace scrabble/gateway v0.0.0 => ./gateway
