- remove "Unused Variables" from Syntax/Semantics Exceptions In Go.
- a serious mistake was just fixed in this book. Before, the book said the starting index in a subslice syntax can't be larger than the length of the base slice. This is wrong. Please read the corrected section again for details.
- rearrange Go Details 101, more details are added.
- published Evaluation Orders.
- modify some descriptions for
- remove "Comparing Interface Values" from Syntax/Semantics Exceptions In Go.
- add "Comparisons 2" to Syntax/Semantics Exceptions In Go.
- modify some descriptions for
- add a new tip How to make a struct type uncomparable?.
- add a new tip Try to reset pointers in freed-up slice elements.
- add a new tip Make optimizations by using BCE.
- remove "Precedences Of Unary Operators" from Syntax/Semantics Exceptions In Go.
- published Go Tips 101.
- mention 1.11 new
wasm
GOARCH in More Go Related Knowledges. - mention 1.11 new
go mod
command in The Official Go SDK.
- published About Go 101.
- published Acknowledgements.
- updated license.
- published Relections in Go.
- added a channel use case: rate limiting.
- added a new detail: Exit a program with a
os.Exit
function call and exit a goroutine with aruntime.Goexit
function call..
- added a new detail: Non-exported method names and struct field names from different packages are viewed as diffferent names..
- added a FAQ question: What does the compiler error message
declared and not used
mean? - added a FAQ question: What is the difference between the function call
time.Sleep(d)
and the channel receive operation<-time.After(d)
? - added a FAQ question: What is the difference between the random numbers produced by the
math/rand
standard package and thecrypto/rand
standard package? - added a FAQ question: What are the differences between the
fmt.Print
andfmt.Println
functions? - added a FAQ question: What are the differences between the built-in
print
/println
functions and the corresponding print functions in thefmt
andlog
standard packages? - added a FAQ question: Why isn't there a
math.Round
function? - added a FAQ question: What does the word gopher mean in Go community?
- finished the article some common concurrent programming mistakes.
- published Go details 101.
- unhid Go FAQ 101.
- added an interesting type embedding example
- mentioned receive-only channels can't be closed
- mentioned indexes in array and slice composite literals must be constants
First release, though some articles are still not finished.