Qalifah / starting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dapr-grpc-service-template Go Report Card

template usage

  • Click "Use this template" above and follow the wizard to select owner and name your new repo
  • Clone and navigate to your new repo (git clone git@github.com:<USERNAME>/<REPO-NAME>.git && cd <REPO-NAME>)
  • Initialize your project to set the package names and update imports (make init)
  • Write your subscription event handling logic

common operations

Common operations to help you bootstrap a Dapr gRPC services development in go:

$ make
tidy                           Updates the go modules and vendors all dependencies
test                           Tests the entire project
run                            Runs uncompiled code in Dapr
build                          Builds local release binary
invoke                         Invoke service with sample JSON content using Dapr API
image                          Builds and publish docker image
lint                           Lints the entire project
tag                            Creates release tag
clean                          Cleans up generated files
init                           Resets go modules
help                           Display available commands

This project also includes GitHub actions in .github/workflows that test on each push and build images and mark release on each tag. Other Dapr GitHub templates to accelerate Dapr development available here.

License

This software is released under the MIT

About

License:MIT License


Languages

Language:Makefile 55.7%Language:Go 36.1%Language:Dockerfile 8.2%