https://github.com/jailtonjunior94/go-uow
🚀 Desenvolvimento de aplicação utilizando Golang + Postgres + Migrate + SQLC + UOW + GraphQL
https://github.com/jailtonjunior94/go-uow
golang graphql migrate migrations postgresql sqlc uow-pattern
Last synced: about 2 months ago
JSON representation
🚀 Desenvolvimento de aplicação utilizando Golang + Postgres + Migrate + SQLC + UOW + GraphQL
- Host: GitHub
- URL: https://github.com/jailtonjunior94/go-uow
- Owner: JailtonJunior94
- Created: 2023-04-08T21:41:36.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-22T00:27:52.000Z (about 2 years ago)
- Last Synced: 2025-12-24T10:57:15.526Z (6 months ago)
- Topics: golang, graphql, migrate, migrations, postgresql, sqlc, uow-pattern
- Language: Go
- Homepage:
- Size: 203 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Curso - FullCyle [Go Expert]
## Módulo [Unit of Work]
[Migrate](https://github.com/golang-migrate/migrate)
[SQLC](https://sqlc.dev/)
### Criando migration
`migrate create -ext=sql -dir=sql/migrations -seq init`
### Executando migration
`migrate --path=sql/migrations -database "mysql://root:root@tcp(localhost:3306)/courses" -verbose up`
### Gerando package com sqlc
`brew install sqlc`
`sqlc generate`