Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juanmachuca95/migrations_go
Migración de datos servidor a servidor con go.
https://github.com/juanmachuca95/migrations_go
go golang minio mysql
Last synced: about 2 months ago
JSON representation
Migración de datos servidor a servidor con go.
- Host: GitHub
- URL: https://github.com/juanmachuca95/migrations_go
- Owner: juanmachuca95
- Created: 2021-10-28T18:02:34.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-17T13:44:13.000Z (about 3 years ago)
- Last Synced: 2024-06-21T04:55:54.130Z (6 months ago)
- Topics: go, golang, minio, mysql
- Language: Go
- Homepage:
- Size: 197 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# migrations_go
Arquitectura hexagonal golang. Documentación mysql driver
http://go-database-sql.org/index.html
Documentación: Obtener los valores de un body request from JSON.
https://www.alexedwards.net/blog/how-to-properly-parse-a-json-request-body# Guide golang api rest basic
usefull link: https://blog.friendsofgo.tech/posts/como_crear_una_api_rest_en_golang/
# Router Mux
go get -u github.com/gorilla/mux# Driver MySQL
go get -u github.com/go-sql-driver/mysql
# Variables de entorno .env
go get -u github.com/joho/godotenv
# JWT JSON Web Token
go get -u github.com/dgrijalva/jwt-go
# Password Bcrypt
go get golang.org/x/crypto/bcrypt
# Routes: Functions of migrations
| Route | Handlers | Actions | Return |
| --------------- |:------------------:| ------------------:|-----------------------:|
| /users | GetUsersHandler | Migra usuarios. | true || error |