Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
/ handlergen Public archive

Generate golang grpc handlers from protobuf

License

Notifications You must be signed in to change notification settings

winterjung/handlergen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

handlergen

Actions Status Golang Badge GRPC Badge

Generate pre-defined golang grpc handlers with test suite from protobuf file.

  1. Generate snake cased handler files with test (xxx_handler.go, xxx_handler_test.go)
  2. Fill empty handler and test suite

Install

  1. Clone the repo
  2. Run go install
  3. Now you can run handlergen

Usage

Usage of handlergen:
  -i <path>
    	protobuf file path to generate
  -o <dir>
    	write output to <dir>

Example

$ handlergen -i ./sample.proto -o ./

About

Generate golang grpc handlers from protobuf

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published