The significance of Go module and the problems to be solved
Recently, I was trying to put together an article on the history of Go package management, hoping to deepen my knowledge of this area. When collecting information, I found this article and translated it. This article, the first in a series, covers the basics of package dependency management. This paper proposes three pain points in Go development, how to solve the problem of only specifying path development in GOPATH...
Golang writes the K8S application deployment tool
Chintensakai /learn-spring-cloud (gitee.com) Why golang? Because I will add the display kanban of K8S-related resources and docker resources of each node later
3. Capacity expansion, self-healing and failover, rolling update and rollback capabilities
GRPC technology introduction 2. GRPC + Protobuf + gateway combat 3. Etcd technology introduction 4. Etcd-based service discovery and Registration 5.
Go Quiz: What should channel pay attention to from the Go interview questions
This is the second part of the Go Quiz series on the characteristics of Channel and Select. This is a simple question, but it can help us understand channel and select. A: 321 B: 21 C: 1
Dave Cheney: Ten engineering suggestions for writing simple, Readable, maintainable Go code
Dave Cheney is an open source contributor and project member of the Go programming language. Dave Cheney is a respected spokesperson for the technology community, speaking on topics as diverse as software design, performance, and the Go programming language. Dave Cheney has been writing, teaching and lecturing golang around the world since 2009. Dave Cheney is currently VMwar...
Go interview question: Does Go have reference variables and reference passing?
If you have used map and channel in Go, you will find that map and channel are passed as function parameters. You can change the external map and channel inside the function without adding pointer * to the map and channel parameter
Go Interview One article per day (Day 8)
A. A package can contain multiple init functions. B. When the program is compiled, the init function of the dependent package is executed first, and then the init function in the main package is executed. C. The main package cannot contain init functions. D. Init can be called by other functions. A. nil B. not nil C. co...
Go Quiz: From the Go interview question, we can see the notes in The second part of defer
This is part 5 of the Go Quiz series, which examines the semantics of Go defer and part 2 of the semantics of defer. If you haven't seen Defer 1, please review: Go defer Semantics 1. The title of this article is as follows: A: 1
Read Go generic design and usage scenarios
On December 14, 2019, Go officially released the Go 1.18 Beta1 version that supports generics, which is the most significant functional change of Go language since its birth in 2007. At the heart of generics are three concepts: Type Parameters FO
Go-zero series gRPC SSL/TLS one-way authentication
It mainly introduces how gRPC generates certificates and uses SSL/TLS one-way authentication. Go-zero's zRPC is not used here