LdDl / bungen

Model generator for bun package
MIT License
4 stars 2 forks source link

Bungen - cli tool for generating Bun [Postgres driver] models

Go Report Card

About:

Requirements:

Idea

In most of the cases Bun [Postgres driver] models represent database's tables and relations. Bungen'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 with Bun ORM package.

Usage

  1. Install go get github.com/LdDl/bungen && go install github.com/LdDl/bungen@latest
  2. Read though help bungen -h

Currently bungen support 3 generators:

Examples located in each generator

Thanks