Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today. Learn more →
Top 14 Go Codegen Projects
Compile-time Dependency Injection for GoProject mention: Config for production and mocking (db connections, http parsers etc) | reddit.com/r/golang | 2023-02-23
If you have such a complex and deep dependency graph, and you don't want to manually maintain it, you could use some DI library to handle that for you. Something like https://github.com/google/wire for small-medium size stuff, or https://github.com/uber-go/fx for larger scale, more enterprise projects.
go generate based graphql server libraryProject mention: Golang tech stack | reddit.com/r/golang | 2023-03-12
Gqlgen if I need GraphQL
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Interface mocking tool for go generateProject mention: Is gomock still maintained and recommended? | reddit.com/r/golang | 2023-03-06
a truly type-safe Go GraphQL clientProject mention: How to build a Snowflake API? | dev.to | 2023-01-17
An example of a Snowflake API request using Go. This example uses the Go standard library, so it doesn’t require additional dependencies; however, in production, you could use a library like shurcooL/graphql or Khan/genqlient for stronger typing.
A Protocol Buffers compiler that generates optimized marshaling & unmarshaling Go code for ProtoBuf APIv2
Go driven rpc code generation tool for right now. (by pacedotdev)Project mention: Generating OpenAPI 3.0 specs from code - what's working for me... | reddit.com/r/golang | 2023-03-17
For new projects, I can probably use https://github.com/pacedotdev/oto and stick with an RPC style, but I've got lots of REST services that include URL params and GET requests to document, hence writing this.
OpenAPI v3 code generator for goProject mention: How to OpenAPI? | reddit.com/r/golang | 2023-02-08
But also this project https://github.com/ogen-go/ogen It worth keeping an eye on.
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
Code generation tools for Go.
K8s Go client code generator from Kubernetes resource yamls
Shortlink service (Microservice example) (by shortlink-org)Project mention: [Go] - Saga pattern | reddit.com/r/reviewmycode | 2023-03-27
A tool to generate bun, gorm, sql, sqlx and xorm sql code. (by anqiansong)Project mention: How do you improve development efficiency？ | reddit.com/r/golang | 2022-08-25
Finally, I wrote a tool a while ago https://github.com/anqiansong/sqlgen,it can help developers quickly generate gorm,xorm,sqlx,bun,sql code gorm,xorm,sqlx,bun,sql code that supports generation from sql files and database links, for example check out https://github. com/anqiansong/sqlgen/tree/main/example, if it can help you, please give me a star.
GitHub webhook events toolset for Go :rocket:Project mention: github API webhook reciever | reddit.com/r/golang | 2023-01-13
A while ago I wrote a module which might be interesting for your use case. All it does is wrapping go-github and adding some generated handlers https://github.com/cbrgm/githubevents
Generate custom endpoints & typesafe fetch functions for Go REST serversProject mention: Gomarvin - generate custom boilerplate / controllers for REST servers | reddit.com/r/golang | 2022-07-17
Source -> https://github.com/tompston/gomarvin
Speed up go:generate by auto detecting code changes
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go Codegen related posts
Generating OpenAPI 3.0 specs from code - what's working for me...
2 projects | reddit.com/r/golang | 17 Mar 2023
Config for production and mocking (db connections, http parsers etc)
2 projects | reddit.com/r/golang | 23 Feb 2023
Is it just me or does nobody really know what idiomatic Go is.
1 project | reddit.com/r/golang | 14 Jan 2023
github API webhook reciever
1 project | reddit.com/r/golang | 13 Jan 2023
Modern API design with Golang, PostgreSQL and Docker.
2 projects | reddit.com/r/golang | 21 Nov 2022
Should I use Ent?
2 projects | reddit.com/r/golang | 26 Sep 2022
gomock giving me a hard time
1 project | reddit.com/r/golang | 19 Sep 2022
A note from our sponsor - SonarLint
www.sonarlint.org | 27 Mar 2023
What are some of the best open-source Codegen projects in Go? This list will help you: