Skip to content

nielvid/go-userservice-grpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User MicroService built with golang.

Technology

  • Communication Protocol - grpc
  • Database - Mongodb

Generate protobuf

Run the following command to generate your protobuf files in golang. Make sure you have protoc in stalled on your system and the golang plugin. Incase you don't have the plugin install it using the command below:

go install google.golang.org/protobuf/cmd/[email protected]

go install google.golang.org/grpc/cmd/[email protected]

Then run this command to generate your protoco buffer (protobuf)

	protoc  --go_out=. --go-grpc_out=. proto/*.proto

or

	protoc --go_out=. --go_opt=module=github.com/nielvid/go-userservice-grpc --go-grpc_out=. --go-grpc_opt=module=github.com/nielvid/go-userservice-grpc proto/greet.proto

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published