Categories
Golang

use go module

Enable go module in vscode. Init the root module Get the dependency package list all dependency Upgrade one dependency Remove unused dependency

Categories
Golang

Understand gRPC-GO – part1- the components

the gRPC version: v1.0.1-GA The who gRPC code base have several components server transport clientconn rpc_utils metadata credentials codes call Server the server is mainly contain the gRPC server struct, service struct and main flow functions to handle grpc requests. Transport the transport package mainly contain the underlying communication mechanism(HTTP2 protocol) implementation and interface(ServerTransport, ClientTransport) […]

Categories
Microservice

Practical Go

Package Name