Hands-On System Programming with Go
上QQ阅读APP看书,第一时间看更新

Questions

  1. What's the difference between absolute and relative paths?
  2. How do you obtain or change the current working directory?
  3. What are the advantages and downfalls of using ioutil.ReadAll?
  4. Why are buffers important for reading operations?
  5. When should you use ioutil.WriteFile?
  6. Which operations are available when using a buffered reader that allows peeking?
  7. When is it better to read content using a byte buffer?
  8. How can buffers be used for writing? What's the advantage of using them?