awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

21 个仓库

Awesome GitHub RepositoriesCode Generation Tools

Frameworks and utilities for generating code during build or design time.

Explore 21 awesome GitHub repositories matching part of an awesome list · Code Generation Tools. Refine with filters or upvote what's useful.

Awesome Code Generation Tools GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • kyleconroy/sqlckyleconroy 的头像

    kyleconroy/sqlc

    17,886在 GitHub 上查看↗

    sqlc is a SQL compiler and code generator that creates type-safe database client code from raw SQL queries. It transforms SQL statements into typed definitions and functions, eliminating the need for manual row mapping between database results and application structures. The tool ensures compile-time safety by validating SQL queries against the database schema before the application is run. This workflow integrates the database schema directly into the application code, deriving types from the underlying SQL definitions to prevent runtime errors. The system utilizes AST-based query analysis

    Generates type-safe Go code from SQL.

    Go
    在 GitHub 上查看↗17,886
  • cweill/gotestscweill 的头像

    cweill/gotests

    5,315在 GitHub 上查看↗

    gotests 是一个 Go 语言的静态分析工具和样板代码生成器,可从源代码自动创建结构化的测试套件。它作为一个表驱动(table-driven)的测试框架,处理函数和方法的类型解析,包括将泛型类型约束映射到具体的实现类型。 该工具集成了大语言模型,能够根据函数逻辑合成真实的输入值和边界情况。它使用模板驱动的生成系统,允许通过外部模板和参数自定义生成测试代码的结构和格式。 该项目提供了用于递归包扫描和目录树处理的命令行工具。它包含作用域控制机制,可以使用正则表达式和可见性修饰符来过滤函数选择。

    Generates table-driven unit tests from source code.

    Gocode-generatorcommandlinego
    在 GitHub 上查看↗5,315
  • dave/jenniferdave 的头像

    dave/jennifer

    3,618在 GitHub 上查看↗

    Jennifer is a code generator for Go

    Go code generation library.

    Go
    在 GitHub 上查看↗3,618
  • chimeracoder/gojsonChimeraCoder 的头像

    ChimeraCoder/gojson

    2,687在 GitHub 上查看↗

    Automatically generate Go (golang) struct definitions from example JSON

    Generates Go structs from JSON.

    Gocligogo-generate
    在 GitHub 上查看↗2,687
  • cheekybits/gennycheekybits 的头像

    cheekybits/genny

    1,719在 GitHub 上查看↗

    Elegant generics for Go

    Provides elegant generic code generation.

    Go
    在 GitHub 上查看↗1,719
  • smallnest/gensmallnest 的头像

    smallnest/gen

    1,441在 GitHub 上查看↗

    Converts a database into gorm structs and RESTful api

    Generates Go structs from database schemas.

    Godatabasedatabasesgenerator
    在 GitHub 上查看↗1,441
  • daveaglick/scriptydaveaglick 的头像

    daveaglick/Scripty

    618在 GitHub 上查看↗

    Tools to let you use Roslyn-powered C# scripts for code generation. You can think of it as a scripted alternative to T4 templates.

    Scripted alternative to T4 templates for code generation.

    C#
    在 GitHub 上查看↗618
  • aarnott/codegeneration.roslynAArnott 的头像

    AArnott/CodeGeneration.Roslyn

    411在 GitHub 上查看↗

    Assists in performing Roslyn-based code generation during a build. This includes design-time support, such that code generation can respond to changes made in hand-authored code files by generating new code that shows up to Intellisense as soon as the file is saved to disk.

    Build-time code generation with design-time support.

    C#
    在 GitHub 上查看↗411
  • testura/testura.codeTestura 的头像

    Testura/Testura.Code

    296在 GitHub 上查看↗

    Testura.Code is a wrapper around the Roslyn API and used for generation, saving and compiling C# code. It provides methods and helpers to generate classes, methods, statements and expressions.

    Wrapper for generating, saving, and compiling C# code.

    C#
    在 GitHub 上查看↗296
  • nventive/uno.sourcegenerationnventive 的头像

    nventive/Uno.SourceGeneration

    133在 GitHub 上查看↗

    The Uno source generator is an API compatible source generator inspired by Roslyn v2.0 source generation feature, and an msbuild task which executes the SourceGenerators.

    Source generator utilizing full syntactic and semantic model information.

    C#
    在 GitHub 上查看↗133
  • opennota/re2dfaO

    opennota/re2dfa

    0在 GitHub 上查看↗

    Converts regular expressions into finite state machines.

    在 GitHub 上查看↗0
  • bouk/gonericsB

    bouk/gonerics

    0在 GitHub 上查看↗

    Generates generic code for Go projects.

    在 GitHub 上查看↗0
  • xo/xoX

    xo/xo

    0在 GitHub 上查看↗

    Generates Go code from database schemas or queries.

    在 GitHub 上查看↗0
  • xuanwo/ggX

    Xuanwo/gg

    0在 GitHub 上查看↗

    Go code generation utility.

    在 GitHub 上查看↗0
  • vburenin/ifacemakerV

    vburenin/ifacemaker

    0在 GitHub 上查看↗

    Generates interfaces from struct methods.

    在 GitHub 上查看↗0
  • xuri/xgenX

    xuri/xgen

    0在 GitHub 上查看↗

    Parses XSD files to generate Go, C, or Java code.

    在 GitHub 上查看↗0
  • dylanmeeus/hasgoD

    DylanMeeus/hasgo

    0在 GitHub 上查看↗

    Generates Haskell-inspired functions for slices.

    在 GitHub 上查看↗0
  • hexdigest/gounitH

    hexdigest/gounit

    0在 GitHub 上查看↗

    Generates test code using custom templates.

    在 GitHub 上查看↗0
  • parquery/gocontractsP

    Parquery/gocontracts

    0在 GitHub 上查看↗

    Implements design-by-contract via code and documentation.

    在 GitHub 上查看↗0
  • shelnutt2/db2structS

    Shelnutt2/db2struct

    0在 GitHub 上查看↗

    Generates Go structs from database tables.

    在 GitHub 上查看↗0
上一个12下一个
  1. Home
  2. Part of an Awesome List
  3. Developer Tools
  4. Code Generation Tools