Getting Started
Building and Using Go Private Packages
· β˜• 3 min read
1. Create a Go Modules Project Create the directory 1 2 mkdir go-test cd go-test Initialize the package 1 2 3 4 5 go mod init gitlab.private.com/shaowenchen/go-test go: creating new go.mod: module gitlab.private.com/shaowenchen/go-test go: to add module requirements and sums: go mod tidy Add the business code main.go 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 package main import ( "github.

Getting Started with Go
· β˜• 1 min read
English title: The Way To Go Subtitle: A Thorough Introduction To The Go Programming Language Author: Ivo Balbaert Publisher: iUniverse Publication year: 2012-3-8 ISBN: 9781469769165 Notes: This is a Go primer I would personally recommend. Because Go has evolved rapidly in recent years, parts of the original text are already out of date.

Go Development Configuration
· β˜• 4 min read
1. Common Environment Variables 1.1 GOROOT $GOROOT is the local directory where the Go package is installed. 1 2 3 4 cd /c/Go ls AUTHORS CONTRIBUTORS PATENTS VERSION bin favicon.ico misc robots.txt test CONTRIBUTING.md LICENSE README.md api doc lib pkg src 1.2 GOPATH $GOPATH is the Go workspace directory, used to hold code, third-party libraries, compiled intermediate files, and so on.

Getting Started with Go
· β˜• 5 min read
1. Background For the past decade or so, C/C++ has not developed well in the computing field and has not kept pace with the advance of computers. With existing programming languages, development speed and system efficiency often cannot be had at the same time. Either execution is fast but development and compilation are inefficient, or execution is slow but compilation is efficient.

Getting Started with DDoS Attacks
· β˜• 8 min read
1. What Is DDoS Take the Spring Festival ticket rush: the moment high-speed rail tickets go on sale, people all over the country send connection requests to the 12306 servers. The 12306 servers then either stop responding or respond slowly to web requests. That constitutes a DDoS attack β€” through a large number of concurrent requests, the target service is forced to become degraded, or even to shut down.