Go Generate Tools

12 packages 1 resources

Packages (12)

gotests

Generate Go tests from your source code.

5,277 348

xgen

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

404 103

hasgo

Generate Haskell inspired functions for your slices.

145 11

gocontracts

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

114 10

options-gen

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

107 12

envdoc

generate documentation for environment variables from Go source files.

94 8

gounit

Generate Go tests using your own templates.

87 11

sqlgen

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

85 9

generic

flexible data type for Go.

49 7

godal

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

19

re2dfa

Transform regular expressions into finite state machines and output Go source code.

Resources & Links (1)