学習パス

日常で使う Go の道具

defer、panic と recover、クロージャー、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.