Files
hnh-map/.cursor/rules/backend-go.mdc
Nikolay Tatarinov f6375e7d0f Update project configuration and documentation
- Modified .gitignore to retain rules directory while excluding other cursor files.
- Updated backend-go.mdc to clarify compatibility notes.
- Enhanced project-conventions.mdc with guidelines on coding practices and running tests.
- Added SKILL.md for detailed instructions on running backend and frontend tests in the hnh-map monorepo.
2026-03-03 23:47:48 +03:00

11 lines
579 B
Plaintext

---
description: Go style and backend layout (internal/app)
globs: "**/*.go"
alwaysApply: false
---
# Backend (Go)
- Entry point: [cmd/hnh-map/main.go](cmd/hnh-map/main.go). All app logic in `internal/app/` (package `app`): `app.go`, `auth.go`, `api.go`, `map.go`, `tile.go`, `admin_*.go`, `client*.go`, `migrations.go`, etc.
- Use `go fmt ./...` before committing. Run `go test ./...` when changing behaviour.
- Compatibility note: keep in mind [hnh-auto-mapper-server](https://github.com/APXEOLOG/hnh-auto-mapper-server) when touching client protocol or public API.