GO语言
-
Go Engineer Systematic Course 002
Differences between GOPATH and Go Modules 1. Concepts GOPATH Is Go's early dependency management mechanism. All Go projects and dependency packages must be placed in the GOPATH dir…
-
Go Engineer Systematic Course 001
Transformation Reasons for wanting to transition to Go engineering system in a short time Improve CRUD operations, no experience with self-developed frameworks Students who want to…
-
Comprehensive Course for Go Engineers: protoc-gen-validate
protoc-gen-validate Introduction and Usage Guide ✅ What is protoc-gen-validate protoc-gen-validate (short for PGV) is a Protocol Buffers plugin used to add validation logic for str…
-
Go Engineer Systematic Course: Protobuf Guide
Protocol Buffers Getting Started Guide 1. Introduction Protocol Buffers (protobuf for short) is a language-agnostic, platform-agnostic, extensible mechanism for serializing structu…
-
Go Senior Engineer's Lecture (MOOC) 008_GMP Scheduler and Go Design Philosophy
Go GMP Scheduler and Design Philosophy Corresponding videos: 9-2 Go Language Scheduler, 18-1 Understanding Go Language Design, 18-2 Course Summary 1. Evolution of Go Scheduler 1.0 …
-
Go Senior Engineer Lecture (MOOC) 007_godoc and Code Generation
Go Documentation Generation and Example Code Corresponds to Video 8-6: Generating Documentation and Example Code 1. godoc Documentation Generation Go's documentation is extracted d…
-
Go Senior Engineer Explains (MOOC) 006_Functional Programming
Go Functional Programming Corresponds to video Ch6 (6-2 Functional Programming Example One), expanding on 002.md with more functional programming patterns 1. Review: Functions are …
-
Go Senior Engineer Lecture (MOOC) 005
005 Standard Library http Using http client to send requests Using http.Client to control request headers Using httputil to simplify work package main import ( "fmt" &quo…
-
Go Senior Engineer Lecture (MOOC) 004
004 goroutine package main import ( "fmt" "time" ) func main() { for i:=0;i<10;i++{ go func(i int) { fmt.Printf("Hello from goroutine %d \n",i) // …
-
Go Senior Engineer Explains (MOOC) 003
003 Testing Complaining about others' approaches, the Go language uses table-driven tests. Test data and test logic are mixed together Unclear error messages All tests end once one…