Lộ trình học

Bộ công cụ Go hằng ngày

defer, panic và recover, closure, JSON, sắp xếp, rune và byte.

6 bài học · 9 thử thách

  1. Bài học 1 thử thách Defer, Panic and Recover Run cleanup code with defer and turn a panic back into an error with recover.
  2. Bài học 2 thử thách Closures and Function Values Store functions in variables, pass them around and capture variables.
  3. Bài học 2 thử thách JSON Encoding and Decoding Convert structs to JSON and back with encoding/json and struct tags.
  4. Bài học 1 thử thách Sorting Slices Sort numbers, strings and structs with the sort and slices packages.
  5. Bài học 2 thử thách Runes, Bytes and strings.Builder Handle Unicode text correctly and build long strings efficiently.
  6. Bài học 1 thử thách Anagram Check Test whether two texts use exactly the same letters.