https://github.com/kirkgo/sqlc-example
Short code to test SQLC (sqlc.dev)
https://github.com/kirkgo/sqlc-example
go golang sql sqlc
Last synced: 26 days ago
JSON representation
Short code to test SQLC (sqlc.dev)
- Host: GitHub
- URL: https://github.com/kirkgo/sqlc-example
- Owner: kirkgo
- License: mit
- Created: 2021-04-14T18:31:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-14T18:54:58.000Z (over 4 years ago)
- Last Synced: 2024-06-20T08:10:25.793Z (over 1 year ago)
- Topics: go, golang, sql, sqlc
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### SQLC Example
Short code to test SQLC
#### How to install
Follow these steps:
```
git clone https://github.com/kirkgo/sqlc-example.git
cd sqlc-example
go get github.com/lib/pq
go get github.com/kyleconroy/sqlc/cmd/sqlc
go install github.com/kyleconroy/sqlc/cmd/sqlc
```
How to run:
```
go run ./main.go
```
You can know more about SQLC at [sqlc.dev](https://sqlc.dev/).