Go Generate Tools
gotests5K

Generate Go tests from your source code.

genny1.7K

Elegant generics for Go.

xgen346

XSD (XML Schema Definition) parser and Go/C/Java/Rust/TypeScript code generator.

hasgo141

Generate Haskell inspired functions for your slices.

gonerics114

Idiomatic Generics in Go.

gocontracts113

brings design-by-contract to Go by synchronizing the code with the documentation.

sqlgen84

Generate gorm, xorm, sqlx, bun, sql code from SQL file or DSN.

options-gen82

Functional options described by Dave Cheney's post "Functional options for friendly APIs".

gounit81

Generate Go tests using your own templates.

envdoc71

generate documentation for environment variables from Go source files.

generic48

flexible data type for Go.

godal18

Generate orm models corresponding to golang by specifying sql ddl file, which can be used by gorm.