segmentio/golines
A golang formatter that fixes long lines observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 58
- Release rhythm 12
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2529
- days_rel: 377
- days_push: 257
- n_releases_24m: 1
Adoption not part of the score
1127 stars · 78 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
golines is a Go code formatter that shortens long lines in addition to standard gofmt fixes. The original segmentio repository was archived in December 2025 and is in maintenance mode, with an actively maintained fork at golangci/golines.
Use cases
- shorten long lines in go source files
- format go code beyond what gofmt does
- enforce a max line length in go projects
- auto-split long map and function call lines in go
- integrate line-shortening formatting into go CI pipelines
When to avoid
- you want an actively maintained tool - use the golangci/golines fork instead
- you are fine with standard gofmt behavior
Facets
cli-tool · maturity abandoned
formatter developer-tools developer-tools programming-languages cli cross-platform go code-formatting line-length gofmt archived command-line
1 source
- readme: https://github.com/segmentio/golines · fetched 2026-08-28 · 42cf829d92e9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| segmentio/golines | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="segmentio/golines")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem