Percorso di apprendimento

Gli strumenti Go di tutti i giorni

defer, panic e recover, closure, JSON, ordinamento, rune e byte.

6 lezioni · 9 sfide

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