task run
or
go run -race internal/main/main.go
Make sure you have installed necessary tools:
go install github.com/bufbuild/buf/cmd/buf@latest
go install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install github.com/bufbuild/connect-go/cmd/protoc-gen-connect-go@latest
Then run:
task gen
or
buf lint && buf generate
Make sure you have installed necessary tools:
go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@latest
Create and edit new migration scripts:
migrate create -dir migration/migrations -ext sql description
Edit the new scripts.