Skip to content

fahrizalfarid/user-service-grpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

db migration

$ migrate create -ext sql -seq -dir db/migrations user_profiles
$ migrate create -ext sql -seq -dir db/migrations user_credentials

migrate up

$ migrate -path ./db/migrations -database "postgresql://my_user:pass@localhost:5432/user-service?sslmode=disable" up 2

migrate down

$ migrate -path ./db/migrations -database "postgresql://my_user:pass@localhost:5432/user-service?sslmode=disable" down 2

proto

$ protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative .\src\proto\*.proto

run

$ go run main.go allSvc

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages