Introduction
Don't go re-inventing the wheel
()
What you should know
()
Setting up the environment
()
Overview of Go packages
()
1. Formatting with Fmt
Overview of the fmt package
()
Print and Println basics
()
Using Printf and Sprintf
()
Formatting and precision
()
Reading from standard input
()
2. Working with Strings
Parsing strings with strconv
()
The strings package
()
Basic string operations
()
String searching
()
String manipulation
()
Using the Map function
()
Using string builder
()
String tests with Unicode
()
3. Mathematical Operations
Using random numbers
()
The math package basics
()
Trigonometry and other functions
()
Random number generation
()
4. Files and Directories
File information
()
Writing files
()
Reading files
()
Directory operations
()
Temporary files and directories
()
5. Networking
Decoding JSON
()
Working with URLs
()
Performing HTTP GET
()
Performing HTTP POST
()
Encoding JSON
()
Encoding XML
()
Decoding XML
()
Ex_Files_Go_Standard_Library.zip
(57 KB)