เส้นทางการเรียนรู้

เครื่องมือ Go ที่ใช้ทุกวัน

defer, panic และ recover, closure, JSON, การเรียงลำดับ รวมถึง rune และ byte

บทเรียน 6 บท · โจทย์ 9 ข้อ

  1. บทเรียน โจทย์ 1 ข้อ Defer, Panic and Recover Run cleanup code with defer and turn a panic back into an error with recover.
  2. บทเรียน โจทย์ 2 ข้อ Closures and Function Values Store functions in variables, pass them around and capture variables.
  3. บทเรียน โจทย์ 2 ข้อ JSON Encoding and Decoding Convert structs to JSON and back with encoding/json and struct tags.
  4. บทเรียน โจทย์ 1 ข้อ Sorting Slices Sort numbers, strings and structs with the sort and slices packages.
  5. บทเรียน โจทย์ 2 ข้อ Runes, Bytes and strings.Builder Handle Unicode text correctly and build long strings efficiently.
  6. บทเรียน โจทย์ 1 ข้อ Anagram Check Test whether two texts use exactly the same letters.