Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sky0621/kreu-crud-for-sqlc
This is a tool that reads SQL files for sqlc and creates CRUD tables.
https://github.com/sky0621/kreu-crud-for-sqlc
Last synced: about 1 month ago
JSON representation
This is a tool that reads SQL files for sqlc and creates CRUD tables.
- Host: GitHub
- URL: https://github.com/sky0621/kreu-crud-for-sqlc
- Owner: sky0621
- License: mit
- Created: 2023-05-19T15:20:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-11T13:43:00.000Z (over 1 year ago)
- Last Synced: 2024-06-21T08:09:08.232Z (6 months ago)
- Language: Go
- Homepage:
- Size: 4.33 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kreu-crud-for-sqlc
This is a tool that reads SQL files for [sqlc](https://sqlc.dev/) and creates CRUD tables.
However, it is unfinished.
## What you need to use
- Install [docker](https://www.docker.com/)
- Environment in which make command can be used## How does it work?
1. build
```
make build
```2. prepare sql files
like [this](./testdata)
3. run
※ `xxxx` is the directory where your SQL files are located.
```
make run DIR=/xxxx
```After execution, a [CRUD.xlsx](./testdata/CRUD.xlsx) file is created under xxxx.
![crud](./pic/crud.png)