gomodifytags
« Back to VersTracker
Description:
Go tool to modify struct field tags
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: go tags struct editor-tool productivity
Install: brew install gomodifytags
About:
Gomodifytags is a command-line utility that enables Go developers to easily add, update, or remove struct field tags. It integrates with editors like Vim and Neovim to streamline the process of managing JSON, XML, and custom tags. This tool significantly reduces manual editing errors and boosts productivity when working with serialization and API definitions.
Key Features:
  • Add, update, or delete struct tags interactively or via flags
  • Supports JSON, XML, custom tags, and omitempty options
  • Editor integration (Vim/Neovim) for seamless workflow
  • Parses Go code accurately to avoid syntax errors
Use Cases:
  • Generating JSON tags for API models
  • Refactoring struct tags across large codebases
  • Adding XML tags for serialization
Alternatives:
  • go-tags – Similar functionality but less editor integration
  • Manual editing – Error-prone and slower than gomodifytags
Version History
Detected Version Rev Change Commit
Sep 12, 2025 1:49pm 0 VERSION_BUMP 3b988adc