Home

Awesome

Genna - cli tool for generating go-pg models

Go Report Card

Requirements:

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:

Examples located in each generator