Golang, Postgres, Redis, Gin, gRPC, Docker, Kubernetes, AWS, CI/CD
https://github.com/techschool/simplebank/blob/master/README.md
https://gnuwin32.sourceforge.net/packages/make.htm
- https://sourceforge.net/projects/gnuwin32/
- install
- add to path system variables
> Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time
> irm get.scoop.sh | iex
https://github.com/ScoopInstaller/Scoop#readme
scoop install migrate
- add migrate to path system variables (in ~\scoop\apps\migrate\ [version])
docker run --rm -v "%cd%:/src" -w /src kjconroy/sqlc generate
go get github.com/lib/pq
go get github.com/stretchr/testify
migrate create -ext sql -dir db/migration -seq migration_name
https://stedolan.github.io/jq/download/
https://grpc.io/docs/languages/go/quickstart/
Latest release: https://github.com/protocolbuffers/protobuf/releases
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28
$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2
- create new migration
migrate create -ext sql -dir db/migration -seq migration_name
- edit migration up/down sql files
- run migrations -
make migrateup
- create new query files in -
db/query
- SQLC - generate sql.go file
make sqlc-generate
- run mockgen -
make mock
- run tests -
make test