gomodifytags

Go tool to modify struct field tags (by fatih)

Gomodifytags Alternatives

Similar projects and alternatives to gomodifytags

  1. go

    The Go programming language

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. sqlc

    Generate type-safe code from SQL

  4. Echo

    High performance, minimalist Go web framework

  5. Task

    A task runner / simpler Make alternative written in Go

  6. migrate

    Database migrations. CLI and Golang library.

  7. oapi-codegen

    Generate Go client and server boilerplate from OpenAPI 3 specifications

  8. air

    ☁️ Live reload for Go apps

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. dockertest

    Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work.

  11. gqlgen

    go generate based graphql server library

  12. notify

    A dead simple Go library for sending notifications to various messaging services.

  13. requests

    HTTP requests for Gophers (by earthboundkid)

  14. godotenv

    A Go port of Ruby's dotenv library (Loads environment variables from .env files)

  15. autogold

    Automatically update your Go tests

  16. backoff

    Discontinued ⏱ The exponential backoff algorithm in Go

  17. counterfeiter

    A tool for generating self-contained, type-safe test doubles in go

  18. teller

    Cloud native secrets management for developers - never leave your command line for secrets.

  19. go-testdeep

    Extremely flexible golang deep comparison, extends the go testing package, tests HTTP APIs and provides tests suite

  20. dynamic-struct

    Golang package for editing struct's fields during runtime and mapping structs to other structs.

  21. go-arg

    Struct-based argument parsing in Go

  22. pretty

    Pretty printing for Go values

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better gomodifytags alternative or higher similarity.

gomodifytags discussion

Log in or Post with

gomodifytags reviews and mentions

Posts with mentions or reviews of gomodifytags. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-23.
  • Which Tools Do You use daily for Golang development?
    8 projects | /r/golang | 23 Jan 2023
    gomodifytags
  • Libraries you use most of your projects?
    30 projects | /r/golang | 2 Nov 2022
    https://github.com/fatih/gomodifytags - generate or modify struct tags
  • Improving the code from the official Go RESTful API tutorial
    2 projects | news.ycombinator.com | 17 Nov 2021
    I suspect it's because Go's general philosophy is that it's better to be verbose and explicit (than terse and magical). Probably falls under "clear is better than clever" from Rob Pike's Go Proverbs: http://go-proverbs.github.io/

    I think if this feature was added, it would not be with struct tags, but with an Encoder.SetFieldTransform(json.SnakeCase) or similar setting.

    That might be quite a nice feature, actually. You could provide your own function to transform names when marshaling, and for unmarshaling it would strip punctuation and match case insensitively (because it's hard to do the reverse transform, for example should user_id go to UserId or UserID, and if the latter, how does the transform know?).

    In any case, it seems like an issue was opened proposing something like that a couple of years ago (https://github.com/golang/go/issues/23027), and Russ Cox responded that the JSON package is basically done, but you could either fork it and add the feature, or use a tool that modifies struct tags like https://github.com/fatih/gomodifytags

  • A note from our sponsor - SaaSHub
    www.saashub.com | 24 Apr 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic gomodifytags repo stats
3
2,325
2.6
30 days ago

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Go is
the 4th most popular programming language
based on number of references?