Skip to content

hongminhcbg/gocrud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gocrud

Generate CRUD code for golang

I. Summary

Alt text

  • input is yaml file

  • generate file magration, modeling, store

II. Install

Install from source code

$ git clone https://github.com/hongminhcbg/gocrud.git

$ cd gocrud && go mod tidy

$ make build 

$ make install 

III. Usage

$ gocurd init // generate example collections.yaml, after that u update the file depend on your requirement

$ gocrud generate // generate go code from input

IV. TODO