Skip to content

mi6ule/goboy

Repository files navigation

GO BOILER

Prerequisites

  • required Go 1.17 or Higher version
  • recommended direnv, to allow all Go-based binaries to be local to this folder and not installed globally. For more details you can refer to this post.

Tools

Install the following tools:

  • required Protocol Buffers Compiler, protoc (3.19.4 to date version):
    • Homebrew: brew install protobuf
    • Alpine 3.15: apk add protobuf-dev protobuf
    • Ubuntu 21.10: apt-get install protobuf-compiler libprotobuf-dev
  • required buf CLI for linting and compiling:
    • go install github.com/bufbuild/buf/cmd/buf@v1.0.0
  • required Protocol Buffer Plugin for Go:
    • go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.27.1
  • required gRPC Plugin for Go:
    • go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2.0
  • recommended Code Formatting, clang-format, you can use find . -name '*.proto' | xargs clang-format -i
    • Homebrew: brew install clang-format (13.0.1 to date version):
    • Alpine 3.15: apk add clang-extra-tools
    • Ubuntu 21.10: apt-get install clang-format

Recommended docs to read:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors