Generators

17 projects

oapi-codegenby deepmap

This package contains a set of utilities for generating Go boilerplate code for services based on OpenAPI 3.0 API definitions.

github.com/oapi-codegen/oapi-codegen/v2Go 1.26+ 8 dependenciesv2.8.2updated 2d ago

8.6k

go-linqby ahmetalpbalkan

.NET LINQ-like query methods for Go.

github.com/ahmetb/go-linq/v5Go 1.27+ No dependencies v5.0.0updated 7d ago

3.8k

jenniferby dave

Generate arbitrary Go code without templates.

github.com/dave/jenniferGo 1.20+ No dependencies updated 26d ago

3.6k

GoWrapby hexdigest

Generate decorators for Go interfaces using simple templates.

github.com/hexdigest/gowrapGo 1.24+ 6 dependenciesv1.5.0updated 13d ago

1.3k

goderiveby awalterschulze

Derives functions from input types

go.awalterschulze.org/goderiveGo 1.26+ 2 dependenciesv0.7.0updated 10d ago

1.3k

go-enumby abice

Code generation for enums from code comments.

github.com/abice/go-enumGo 1.25+ 11 dependenciesv0.9.5updated 1mo ago

962

goverterby jmattheis

Generate converters by defining an interface.

github.com/jmattheis/goverterGo 1.26+ 4 dependenciesv1.11.1updated 23d ago

889

interfacesby rjeczalik

Command line tool for generating interface definitions.

github.com/rjeczalik/interfacesGo 1.18+ 1 dependencyv0.4.0updated 1y ago

431

copygenby switchupcb

Generate any code based on Go types, including type-to-type converters (copy code) without reflection by default.

github.com/switchupcb/copygenGo 1.23+ 4 dependenciesv0.4.1updated 1y ago

406

apispecby ehabterra

Generate OpenAPI 3.1 specs from Go code without annotations, plus a browser UI to configure, preview, and explore the call graph.

github.com/ehabterra/apispecGo 1.26+ 5 dependenciesv0.5.11updated 5d ago

98

convergenby reedom

Feature rich type-to-type copy code generator.

github.com/reedom/convergen/v8Go 1.24+ 4 dependenciesv8.0.5updated 1y ago

51

generisby senselogic

Code generation tool providing generics, free-form macros, conditional compilation and HTML templating.

updated 4y ago

47

go-apispecby antst

Generate OpenAPI 3.1 specs from Go source code via static analysis with automatic framework detection.

github.com/antst/go-apispecGo 1.25+ 4 dependenciesv0.4.25updated 1mo ago

39

protoc-gen-httpgoby MUlt1mate

Generate HTTP server and client from protobuf.

github.com/MUlt1mate/protoc-gen-httpgoGo 1.22+ 3 dependenciesv1.3.0updated 6mo ago

27

typeregistryby xiaoxin01

A library to create type dynamically.

github.com/xiaoxin01/typeregistryGo 1.13+ 1 dependencyupdated 6y ago

23

go-enum-encodingby nikolaydubina

Code generation for enum encoding from code comments.

github.com/nikolaydubina/go-enum-encodingGo 1.25+ No dependencies v1.10.0updated 3mo ago

16

protoc-gen-mcpby easyp-tech

Generate typed MCP tools, prompts, and resources from Protocol Buffers.

github.com/easyp-tech/protoc-gen-mcpGo 1.26+ 4 dependenciesv0.7.1updated 11d ago

6
Esc

Type to search every entry. ↑↓ to move, Enter to open.