gci
« Back to VersTracker
Description:
Control Golang package import order and make it always deterministic
Type: Formula  |  Latest Version: 0.13.7@0  |  Tracked Since: Dec 25, 2025
Links: Homepage  |  GitHub  |  formulae.brew.sh
Stars: 537  |  Forks: 66  |  Language: Go  |  Category: Developer tools
Tags: go formatter import-management developer-tools code-quality
Install: brew install gci
About:
GCI is a CLI tool that controls and formats Go import order by grouping them into sections. It ensures consistent and deterministic import organization, which improves code readability and maintainability across Go projects.
Key Features:
  • Configurable import section grouping
  • Deterministic formatting output
  • CLI tool for easy integration
  • Customizable via configuration files
Use Cases:
  • Enforcing consistent import order in Go projects
  • Automating code formatting in CI/CD pipelines
  • Improving code review efficiency by standardizing imports
Alternatives:
  • goimports – goimports handles import organization but offers less granular control over grouping compared to GCI
Version History
Detected Version Rev Change Commit
Dec 25, 2025 5:36pm 0.13.7 0 VERSION_BUMP 0764da86
Oct 9, 2025 4:49pm 0 VERSION_BUMP 57b7cc74
Sep 11, 2025 4:34pm 0 VERSION_BUMP c3a2134f
Nov 20, 2024 1:26pm 0 VERSION_BUMP 4dcaed51