Tools that generate Go code.
| Repository | Stars | Forks | Last Updated | Description |
|---|---|---|---|---|
| deepmap/oapi-codegen | 9k | 1k | 2026-08-05T19:56:26Z | This package contains a set of utilities for generating Go boilerplate code for services based on OpenAPI 3.0 API definitions. |
| ahmetalpbalkan/go-linq | 4k | 226 | 2026-08-05T15:14:28Z | .NET LINQ-like query methods for Go. |
| dave/jennifer | 4k | 163 | 2026-07-27T07:20:04Z | Generate arbitrary Go code without templates. |
| hexdigest/gowrap | 1k | 94 | 2026-07-26T18:50:45Z | Generate decorators for Go interfaces using simple templates. |
| awalterschulze/goderive | 1k | 45 | 2026-08-05T07:04:55Z | Derives functions from input types |
| abice/go-enum | 955 | 75 | 2026-08-04T13:22:08Z | Code generation for enums from code comments. |
| jmattheis/goverter | 864 | 67 | 2026-08-04T07:05:40Z | Generate converters by defining an interface. |
| rjeczalik/interfaces | 430 | 36 | 2026-07-21T06:05:19Z | Command line tool for generating interface definitions. |
| switchupcb/copygen | 405 | 22 | 2026-08-04T07:05:41Z | Generate any code based on Go types, including type-to-type converters (copy code) without reflection by default. |
| ehabterra/apispec | 83 | 4 | 2026-08-05T22:57:20Z | Generate OpenAPI 3.1 specs from Go code without annotations, plus a browser UI to configure, preview, and explore the call graph. |
| reedom/convergen | 51 | 9 | 2026-07-17T02:37:26Z | Feature rich type-to-type copy code generator. |
| senselogic/GENERIS | 47 | 1 | 2025-05-23T22:04:57Z | Code generation tool providing generics, free-form macros, conditional compilation and HTML templating. |
| antst/go-apispec | 33 | 0 | 2026-07-24T06:55:20Z | Generate OpenAPI 3.1 specs from Go source code via static analysis with automatic framework detection. |
| MUlt1mate/protoc-gen-httpgo | 25 | 2 | 2026-07-06T09:10:32Z | Generate HTTP server and client from protobuf. |
| xiaoxin01/typeregistry | 23 | 1 | 2025-10-05T09:42:26Z | A library to create type dynamically. |
| nikolaydubina/go-enum-encoding | 16 | 1 | 2026-08-02T09:07:11Z | Code generation for enum encoding from code comments. |
| Repository | Stars | Forks | Last Updated | Description |
|---|---|---|---|---|
| deepmap/oapi-codegen | 9k | 1k | 2026-08-05T19:56:26Z | This package contains a set of utilities for generating Go boilerplate code for services based on OpenAPI 3.0 API definitions. |
| ahmetalpbalkan/go-linq | 4k | 226 | 2026-08-05T15:14:28Z | .NET LINQ-like query methods for Go. |
| dave/jennifer | 4k | 163 | 2026-07-27T07:20:04Z | Generate arbitrary Go code without templates. |
| hexdigest/gowrap | 1k | 94 | 2026-07-26T18:50:45Z | Generate decorators for Go interfaces using simple templates. |
| abice/go-enum | 955 | 75 | 2026-08-04T13:22:08Z | Code generation for enums from code comments. |
| jmattheis/goverter | 864 | 67 | 2026-08-04T07:05:40Z | Generate converters by defining an interface. |
| awalterschulze/goderive | 1k | 45 | 2026-08-05T07:04:55Z | Derives functions from input types |
| rjeczalik/interfaces | 430 | 36 | 2026-07-21T06:05:19Z | Command line tool for generating interface definitions. |
| switchupcb/copygen | 405 | 22 | 2026-08-04T07:05:41Z | Generate any code based on Go types, including type-to-type converters (copy code) without reflection by default. |
| reedom/convergen | 51 | 9 | 2026-07-17T02:37:26Z | Feature rich type-to-type copy code generator. |
| ehabterra/apispec | 83 | 4 | 2026-08-05T22:57:20Z | Generate OpenAPI 3.1 specs from Go code without annotations, plus a browser UI to configure, preview, and explore the call graph. |
| MUlt1mate/protoc-gen-httpgo | 25 | 2 | 2026-07-06T09:10:32Z | Generate HTTP server and client from protobuf. |
| senselogic/GENERIS | 47 | 1 | 2025-05-23T22:04:57Z | Code generation tool providing generics, free-form macros, conditional compilation and HTML templating. |
| xiaoxin01/typeregistry | 23 | 1 | 2025-10-05T09:42:26Z | A library to create type dynamically. |
| nikolaydubina/go-enum-encoding | 16 | 1 | 2026-08-02T09:07:11Z | Code generation for enum encoding from code comments. |
| antst/go-apispec | 33 | 0 | 2026-07-24T06:55:20Z | Generate OpenAPI 3.1 specs from Go source code via static analysis with automatic framework detection. |
| Repository | Stars | Forks | Last Updated | Description |
|---|---|---|---|---|
| ehabterra/apispec | 83 | 4 | 2026-08-05T22:57:20Z | Generate OpenAPI 3.1 specs from Go code without annotations, plus a browser UI to configure, preview, and explore the call graph. |
| deepmap/oapi-codegen | 9k | 1k | 2026-08-05T19:56:26Z | This package contains a set of utilities for generating Go boilerplate code for services based on OpenAPI 3.0 API definitions. |
| ahmetalpbalkan/go-linq | 4k | 226 | 2026-08-05T15:14:28Z | .NET LINQ-like query methods for Go. |
| awalterschulze/goderive | 1k | 45 | 2026-08-05T07:04:55Z | Derives functions from input types |
| abice/go-enum | 955 | 75 | 2026-08-04T13:22:08Z | Code generation for enums from code comments. |
| switchupcb/copygen | 405 | 22 | 2026-08-04T07:05:41Z | Generate any code based on Go types, including type-to-type converters (copy code) without reflection by default. |
| jmattheis/goverter | 864 | 67 | 2026-08-04T07:05:40Z | Generate converters by defining an interface. |
| nikolaydubina/go-enum-encoding | 16 | 1 | 2026-08-02T09:07:11Z | Code generation for enum encoding from code comments. |
| dave/jennifer | 4k | 163 | 2026-07-27T07:20:04Z | Generate arbitrary Go code without templates. |
| hexdigest/gowrap | 1k | 94 | 2026-07-26T18:50:45Z | Generate decorators for Go interfaces using simple templates. |
| antst/go-apispec | 33 | 0 | 2026-07-24T06:55:20Z | Generate OpenAPI 3.1 specs from Go source code via static analysis with automatic framework detection. |
| rjeczalik/interfaces | 430 | 36 | 2026-07-21T06:05:19Z | Command line tool for generating interface definitions. |
| reedom/convergen | 51 | 9 | 2026-07-17T02:37:26Z | Feature rich type-to-type copy code generator. |
| MUlt1mate/protoc-gen-httpgo | 25 | 2 | 2026-07-06T09:10:32Z | Generate HTTP server and client from protobuf. |
| xiaoxin01/typeregistry | 23 | 1 | 2025-10-05T09:42:26Z | A library to create type dynamically. |
| senselogic/GENERIS | 47 | 1 | 2025-05-23T22:04:57Z | Code generation tool providing generics, free-form macros, conditional compilation and HTML templating. |