As of 2026-09-07 (commit 38d1265e1a01), golang/go contains 2,911,025 total lines: 2,070,053 code, 611,871 comments, 229,101 blank, across 9,252 files in 27 languages (top: Go 91.0%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving golang/go to commit 38d1265e1a01, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.
This is a very large codebase by counted code lines. Code represents 71.1% of all lines, comments represent 21.0%, and the repository averages 224 code lines per file. Go accounts for 91.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 6925 | 2436285 | 1883904 | 356156 | 196225 |
| GNU Style Assembly | 574 | 172599 | 140094 | 18637 | 13868 |
| Snakemake | 28 | 21216 | 19871 | 0 | 1345 |
| JSON | 34 | 8656 | 8535 | 0 | 121 |
| YAML | 59 | 6782 | 6135 | 331 | 316 |
| C | 88 | 6641 | 5130 | 733 | 778 |
| HTML | 6 | 1503 | 1371 | 23 | 109 |
| Shell | 12 | 1415 | 1073 | 218 | 124 |
| Perl | 9 | 1384 | 1049 | 172 | 163 |
| C Header | 22 | 1255 | 769 | 347 | 139 |
| JavaScript | 6 | 725 | 584 | 59 | 82 |
| Python | 2 | 767 | 482 | 142 | 143 |
Top language (Go 91.0%). Generated at 2026-09-07T08:24:43.391951630+00:00.
golang/go has 2,911,025 total lines, including 2,070,053 code lines, 611,871 comment lines, and 229,101 blank lines.
OctoCounts resolved the public GitHub repository to commit 38d1265e1a01, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit 38d1265e1a01 on 2026-09-07T08:24:43.391951630+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: