Skip to content

susinl/golang

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

go course KT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 93.4%
  • Shell 5.9%
  • Other 0.7%