Ref: https://www.udemy.com/course/backend-master-class-golang-postgresql-kubernetes Ref: https://github.com/techschool/simplebank
- dbdiagram.io - A free, simple tool to draw ER diagrams by just writing code.
- golang-migrate - Database migrations written in Go. Use as CLI or import as library.
- sqlc - sqlc generates fully type-safe idiomatic code from SQL.
- testify - A toolkit with common assertions and mocks that plays nicely with the standard library.
- gin - Gin is a HTTP web framework written in Go (Golang).
- viper - Go configuration with fangs.
- gomock - GoMock is a mocking framework for the Go programming language.
- jwt-go - A go implementation of JSON Web Tokens.
- paseto - Platform-Agnostic Security Tokens implementation in GO (Golang).
- evans - universal gRPC client.
- grpc-gateway - gRPC to JSON proxy generator following the gRPC HTTP spec
Install CLI
brew install golang-migrate
Test CLI
migrate -version
migrate -help
Create a migration
migrate create -ext sql -dir db/migration -seq init_schema
Install CLI
brew install sqlc
Test CLI
sqlc version
sqlc help
Init
sqlc init