Become King Of Hell

[Latest Edition] Go 101: a book focusing on Go syntax/semantics and all kinds of details

Galactus

Member
Lucifer
Joined
Jun 2, 2022
Messages
40
Hellcoins
♆616
Contents:

0. About Go 101 - Why this book is written.
1. Acknowledgements
2. An Introduction of Go - Why Go is worth learning.
3. The Official Go SDK - How to compile and run Go programs.
4. Become Familiar With Go Code
4.1 Introduction of Source Code Elements
4.2 Keywords and Identifiers
4.3 Basic Types and Their Value Literals
4.4 Constants and Variables - Also introduces untyped values and type deductions.
4.5 Common Operators - More type deduction rules are introduced.
4.6 Function Declarations and Calls
4.7 Code Packages and Package Imports
4.8 Expressions, Statements, and Simple Statements
4.9 Basic Control Flows
4.10 Goroutines, Deferred Function Calls and Panic/Recover
5. Go Type System
5.1 Overview of Go Type System - A must-read to master Go programming.
5.2 Pointers
5.3 Structs
5.4 Value Parts - To gain a deeper understanding into Go values.
5.5 Arrays, Slices and Maps - First-class citizen container types.
5.6 Strings
5.7 Functions - Variadic functions, function types and values.
5.8 Channels - The Go way to do concurrency synchronizations.
5.9 Methods
5.10 Interfaces - Value boxes used to do reflection and polymorphism.
5.11 Type Embedding - Type extension in the Go way.
5.12 Type-Unsafe Pointers
5.13 Built-in Generics
5.14 Reflections - The reflect standard package.
6. Some Special Topics
6.1 Line Break Rules
6.2 More About Deferred Function Calls
6.3 Some Panic/Recover Use Cases
6.4 The Right Places to Call the Built-in recover Function
6.5 Code Blocks and Identifier Scopes
6.6 Expression Evaluation Orders
6.7 Value Copy Costs in Go
6.8 Bounds Check Elimination
7. Concurrent Programming
7.1 Concurrency Synchronization Overview
7.2 Channel Use Cases
7.3 How to Gracefully Close Channels
7.4 Other Concurrency Synchronization Techniques - The sync standard package.
7.5 Atomic Operations - The sync/atomic standard package.
7.6 Memory Order Guarantees in Go
7.7 Common Concurrent Programming Mistakes
8. Memory Related
8.1 Memory Blocks
8.2 Memory Layouts
8.3 Memory Leaking Scenarios
9. Some Summaries
9.1 Some Simple Summaries
9.2 nil in Go
9.3 Value Conversion, Assignment, and Comparison Rules
9.4 Syntax/Semantics Exceptions
9.5 Go Details 101
9.6 Go FAQ 101
9.7 Go Tips 101
9.8 More Go Related Topics


You must reply before you can see the hidden data contained here.
link updated
 
Last edited by a moderator:
Top