Trilha de aprendizado

Ferramentas de Go para o dia a dia

defer, panic e recover, closures, JSON, ordenação, runes e bytes.

6 lições · 9 desafios

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