# AGENTS.md

The Go programming language

## Setup

```
# TODO: the install command. No lockfile was found, so this could not be inferred.
```

## Commands

```
# TODO: nothing declares a build or test command, so an agent has to guess.
# This is the single most valuable section of this file. Fill it in.
```

## Layout

- `src/`  7367 source files
- `test/` 3425 source files
- `misc/` 11 source files
- `lib/`  5 source files

## Conventions

- Tests live alongside the code they cover, following `doc/go_spec.html`.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `src/cmd/compile/internal/ssa/ssaop/opGen.go` is 3901KB. It will not fit comfortably in context, so read it in parts.
- No lockfile is committed, so an install here may not match what CI produced.

---

Drafted by agentreadme.com from what is in this repository. Everything marked TODO
needs a human. Check it in as AGENTS.md at the root.
