for range Integer
loops and changed the semantics of for-loop code blocks. Related articles are modified accordingly:
clear
builtin function.panic(nil)
will produce a new non-nil runtime panic.SliceData
, String
, and StringData
.math/rand
package will be auto seeded.-gcflags="-d=ssa/check_bce"
doesn't work for some generic functions in the Bounds Check Elimination chapter.runtime.KeepAlive
related concents are removed from Unsafe Pointers article.
I'm sorry for spreading some wrong information in this article before.recover
Function" is renamed to "Explain Panic/Recover Mechanism in Detail". It was almost wholly re-written.wasm
GOARCH in More Go Related Knowledges.go mod
command in The Go Toolchain.os.Exit
function call and exit a goroutine with a runtime.Goexit
function call..declared and not used
mean?time.Sleep(d)
and the channel receive operation <-time.After(d)
?math/rand
standard package and the crypto/rand
standard package?fmt.Print
and fmt.Println
functions?print
/println
functions and the corresponding print functions in the fmt
and log
standard packages?math.Round
function?First release, though some articles are still not finished.
The Go 101 project is hosted on Github. Welcome to improve Go 101 articles by submitting corrections for all kinds of mistakes, such as typos, grammar errors, wording inaccuracies, description flaws, code bugs and broken links.
If you would like to learn some Go details and facts every serveral days, please follow Go 101's official Twitter account @zigo_101.