Go资深工程师讲解
-
Lecture by a Senior Go Engineer (MOOC) 000_Table of Contents
Google Senior Engineer In-depth Explanation of Go Language - Course Catalog Index Course Source: IMOOC (Baidu Netdisk Backup)Instructor Style: Starting from Google engineering prac…
-
Go Senior Engineer Lecture (MOOC) 001
Overview DownloadDevelopment: vi emacs idea eclipse vs sublimeIDE: GoLand, liteIDEDefault GOPATH ~/go/src Basic Syntax Variable definition uses `var`. Variables defined outside fun…
-
Go Senior Engineer Lecture (MOOC) 002
go (2) string package main import ( "fmt" "unicode/utf8" ) func main() { s := "Yes我爱Go语言" fmt.Println(len(s)) for _, b := range []byte(s) { fmt.Printf…
-
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…
-
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 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 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) 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'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 …