{"repo":"dizzyfool/genna","free":true,"listed":false,"github":"https://github.com/dizzyfool/genna","clone":"git clone https://github.com/dizzyfool/genna.git","description":"Model generator for go-pg package","language":"Go","stars":118,"topics":["golang","postresql","go-pg","codegen"],"license":"MIT","category":"dev-tools","readme_excerpt":"Genna - cli tool for generating go-pg models 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 1. 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","default_branch":null,"files":null,"tree":[],"storefront":"/r/dizzyfool","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dizzyfool/genna/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}