gen icon indicating copy to clipboard operation
gen copied to clipboard

Generate struct for Postgresql

Open vietlib opened this issue 4 years ago • 0 comments

I follow structure, and using this code for generate Gorm Struct for postgresql:

gen --sqltype=postgres --connstr "./vietlib.sql" --database main --json --gorm --guregu --rest --out ./example --module example.com/rest/example --mod --server --makefile --json-fmt=snake --generate-dao --generate-proj –overwrite

And error is: Bad flag: -o

How can i fix this please ?

vietlib avatar Mar 11 '21 09:03 vietlib