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
The strings package
()
Basic string operations
()
String searching
()
String manipulation
()
Using the Map function
()
Using string builder
()
Parsing strings with strconv
()
String tests with Unicode
()
3. Mathematical Operations
The math package basics
()
Trigonometry and other functions
()
Random number generation
()
Using random numbers
()
4. Files and Directories
File information
()
Writing files
()
Reading files
()
Directory operations
()
Temporary files and directories
()
5. Networking
Working with URLs
()
Performing HTTP GET
()
Performing HTTP POST
()
Encoding JSON
()
Decoding JSON
()
Encoding XML
()
Decoding XML
()
Ex_Files_Go_Standard_Library.zip
(57 KB)