chezmoi-source (чистая пересборка, не дамп 1.2 ГБ): - dot_claude: CLAUDE.md лин-роутер, AGENTS.md.tmpl (VPS вычищен), settings.json.tmpl (deny-щит 20 + security-guard hook), rules (structure + ECC 21 язык), 30 generic ECC-агентов, health-check - dot_codex: symlink-паритет; dot_agents: registry 13 скриптов HOME-генерик + методология docs - плагины: plugins.manifest + bootstrap Слой 1b (marketplace+install) - launchd: health.plist (PATH-фикс 127) + session-reaper.example - smoke++: secret-токен guard + канон-проверки (зелёный) - 0 hard личных данных; cut личного (kb/references/gsd/owner) → Ф4
32 lines
457 B
Markdown
32 lines
457 B
Markdown
---
|
|
paths:
|
|
- "**/*.go"
|
|
- "**/go.mod"
|
|
- "**/go.sum"
|
|
---
|
|
# Go Testing
|
|
|
|
> This file extends [common/testing.md](../common/testing.md) with Go specific content.
|
|
|
|
## Framework
|
|
|
|
Use the standard `go test` with **table-driven tests**.
|
|
|
|
## Race Detection
|
|
|
|
Always run with the `-race` flag:
|
|
|
|
```bash
|
|
go test -race ./...
|
|
```
|
|
|
|
## Coverage
|
|
|
|
```bash
|
|
go test -cover ./...
|
|
```
|
|
|
|
## Reference
|
|
|
|
See skill: `golang-testing` for detailed Go testing patterns and helpers.
|