All Projects → dizzyfool → genna

dizzyfool / genna

Licence: MIT License
Model generator for go-pg package

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to genna

revgen
Speed up go:generate by auto detecting code changes
Stars: ✭ 20 (-80.58%)
Mutual labels:  codegen
CreateAPI
Delightful code generator for OpenAPI specs
Stars: ✭ 176 (+70.87%)
Mutual labels:  codegen
next-ts-graphql-apollo-starter
An opiniated Next powered starter which include support for Apollo with GraphQL SSR support, codegen, styled component / system, framer motion and Cypress
Stars: ✭ 18 (-82.52%)
Mutual labels:  codegen
UmaSupporter.WebClient
🏃🏽‍♀️ 우마무스메 육성 도우미 '우마서포터'의 프론트엔드 애플리케이션입니다.
Stars: ✭ 14 (-86.41%)
Mutual labels:  codegen
genqlient
a truly type-safe Go GraphQL client
Stars: ✭ 532 (+416.5%)
Mutual labels:  codegen
vtprotobuf
A Protocol Buffers compiler that generates optimized marshaling & unmarshaling Go code for ProtoBuf APIv2
Stars: ✭ 418 (+305.83%)
Mutual labels:  codegen
apollo-typed-documents
Get type safety for your apollo documents.
Stars: ✭ 21 (-79.61%)
Mutual labels:  codegen
idris-codegen-wasm
WebAssembly Code Generation Backend for Idris Compiler
Stars: ✭ 79 (-23.3%)
Mutual labels:  codegen
easybundler
A code generator for Android Bundles
Stars: ✭ 53 (-48.54%)
Mutual labels:  codegen
graphql-codegen-vscode
vscode extension which runs graphql-codegen whenever you save a query/mutation
Stars: ✭ 41 (-60.19%)
Mutual labels:  codegen
Uno.CodeGen
A set of source generators for equality, immutability, ...
Stars: ✭ 85 (-17.48%)
Mutual labels:  codegen
CQRSAzure
CQRS on Windows Azure
Stars: ✭ 25 (-75.73%)
Mutual labels:  codegen
hwt
VHDL/Verilog/SystemC code generator, simulator API written in python/c++
Stars: ✭ 145 (+40.78%)
Mutual labels:  codegen
go2dts
A simple cli-tools to transform golang `struct` and `const` to typescript `interface` and `type`
Stars: ✭ 44 (-57.28%)
Mutual labels:  codegen
contentful-typescript-codegen
Generate TypeScript interfaces from a Contentful environment
Stars: ✭ 164 (+59.22%)
Mutual labels:  codegen
vertx-codegen
Vert.x code generator for asynchronous polyglot APIs
Stars: ✭ 95 (-7.77%)
Mutual labels:  codegen
micronaut-openapi-codegen
OpenAPI codegen for Micronaut
Stars: ✭ 26 (-74.76%)
Mutual labels:  codegen
dart-sealed
Codegen implementation for using with sealed annotation
Stars: ✭ 22 (-78.64%)
Mutual labels:  codegen
codegen-ace
디미고 이과반 입학과제 코드젠 도우미📓
Stars: ✭ 16 (-84.47%)
Mutual labels:  codegen
impast
A library for package AST importing
Stars: ✭ 26 (-74.76%)
Mutual labels:  codegen

Genna - cli tool for generating go-pg models

Go Report Card

Requirements:

  • go-pg
  • your PostgreSQL database

Idea

In most of the cases go-pg models represent database's tables and relations. Genna's main goal is to prepare those models by reading detailed information about PostrgeSQL database. The result should be several files with ready to use structs.

Usage

  1. Install go get github.com/dizzyfool/genna
  2. Read though help genna -h

Currently genna support 3 generators:

  • model, that generates basic go-pg model
  • model-named, same as basic but with named structs for columns and tables (author: @Dionid)
  • search, that generates search structs for basic model
  • validation, that generates validate functions for basic model

Examples located in each generator

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].