EasyEnv
Engineering/Courses/Catalog/Go/A Tour of the Standard Library
Go
BeginnerLesson 11 of 2040 min · hands-on

A Tour of the Standard Library

Part of the Go course

There is a moment in learning any language where you stop wondering how to write a loop and start wondering how to read a file, or format a date, or turn your data into something another program can understand. In a lot of languages the answer is to go shopping: find a package, check whether it is maintained, add it to your project, and hope.

Go's answer is usually that it is already there. The standard library is the collection of packages that ship with Go itself, and it is unusually large and unusually good. Reading files, parsing text, timing things, encoding data, serving web requests: all of it comes in the box, written by the same people, following the same conventions, and guaranteed to keep working. ...

Want to learn Go A Tour of the Standard Library in a real environment?

Click below, get a fresh Linux box with Go ready to go, and work through A Tour of the Standard Library hands-on with an AI tutor that knows your code.

Start this lessonA Tour of the Standard Library

What you'll learn

  • Fmt
  • Strings
  • Strconv
  • Time
  • Os
  • Bufio
  • Encoding/json

Read this lesson in your language

All lessons in this course

20 lessons
  1. 1Hello, Go25 min
  2. 2Variables and Types25 min
  3. 3Control Flow: if and for30 min
  4. 4Functions30 min
  5. 5Slices and Maps35 min
  6. 6Structs and Pointers35 min
  7. 7Methods and Interfaces35 min
  8. 8Error Handling35 min
  9. 9Modules and Project Structure35 min
  10. 10Tiny CLI Capstone40 min
  11. 11A Tour of the Standard Library40 min
  12. 12Testing and Benchmarks40 min
  13. 13Goroutines and Channels40 min
  14. 14Concurrency Patterns45 min
  15. 15Generics35 min
  16. 16HTTP Servers45 min
  17. 17Databases with database/sql45 min
  18. 18Performance and Profiling40 min
  19. 19Design Patterns in Go40 min
  20. 20Deployment and Production45 min

Explore other courses

A Tour of the Standard Library - Go (English) | Engineering Courses