gin-gonic/gin SLOC report
As of 2026-06-19 (commit d75fcd4c9ab2), gin-gonic/gin contains 26,290 total lines: 17,854 code, 4,269 comments, 4,167 blank, across 113 files in 7 languages (top: Go 99.4%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving gin-gonic/gin to commit d75fcd4c9ab2, 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.
Repository size insights
This is a medium-sized codebase by counted code lines. Code represents 67.9% of all lines, comments represent 16.2%, and the repository averages 158 code lines per file. Go accounts for 99.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Go | 99 | 23917 | 17740 | 2613 | 3564 |
| Makefile | 1 | 110 | 91 | 9 | 10 |
| YAML | 1 | 13 | 11 | 0 | 2 |
| Protocol Buffers | 1 | 12 | 10 | 0 | 2 |
| Templ | 2 | 2 | 2 | 0 | 0 |
| Markdown | 8 | 2234 | 0 | 1645 | 589 |
| Plain Text | 1 | 2 | 0 | 2 | 0 |
Top language (Go 99.4%). Generated at 2026-06-19T08:31:25.122501861+00:00.
Report FAQ
How many lines of code does gin-gonic/gin have?
gin-gonic/gin has 26,290 total lines, including 17,854 code lines, 4,269 comment lines, and 4,167 blank lines.
How was the gin-gonic/gin line count measured?
OctoCounts resolved the public GitHub repository to commit d75fcd4c9ab2, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for gin-gonic/gin?
This OctoCounts report was generated from master at commit d75fcd4c9ab2 on 2026-06-19T08:31:25.122501861+00:00.