• Stars
    star
    173
  • Rank 220,124 (Top 5 %)
  • Language
    Go
  • Created over 3 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Go Programming Language

Go Programming Playlist https://youtube.com/playlist?list=PLyZTXfAT27ib7T9Eg3qhvDE5rgvjQk4OL

Website

Go on macOS

curl -OL https://golang.org/dl/go1.17.darwin-amd64.tar.gz
tar xfz go1.17.darwin-amd64.tar.gz
sudo mv go /usr/local
sudo ln /usr/local/go/bin/go /usr/local/bin/go

Go on Windows with Windows Package Manager

Visual Studio Code and Extension

Go Package

Docker Image

Redis Configuration

bind 0.0.0.0
appendonly yes
SAVE ""

Unit Test VS Code Configuration

"go.coverOnSave": true,
"go.coverOnSingleTest": true,
"go.coverageDecorator": {
    "type": "gutter",
    "coveredHighlightColor": "rgba(64,128,128,0.5)",
    "uncoveredHighlightColor": "rgba(128,64,64,0.25)",        
    "coveredGutterStyle": "blockgreen",
    "uncoveredGutterStyle": "blockred"
}

Go gRPC for macOS

  1. Install Protobuf on macOS
brew install protobuf
  1. Install Evans gRPC client for macOS
brew tap ktr0731/evans
brew install evans
  1. Install vscode-proto3 for VSCode https://marketplace.visualstudio.com/items?itemName=zxh404.vscode-proto3

  2. Go get package in project

go get google.golang.org/protobuf/cmd/protoc-gen-go
go get google.golang.org/grpc/cmd/protoc-gen-go-grpc
  1. Install gRPC tool in project
go install google.golang.org/protobuf/cmd/protoc-gen-go
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc

Follow me