Go Tutorials & Examples
Learn Go programming by example. GOSAMPLES is a library of Go tutorials and examples that helps you solve everyday code problems.
Learn how to check if a HTTP client returns a request timeout error
http
errors
Learn how to read a CSV or TSV file line by line or the whole file at once
introduction
file
csv
Learn how to validate an email address using standard library
mail
Learn how to measure the time taken by a function
introduction
time
Learn how to list files in a folder in 4 different ways
introduction
file
Learn how to check error type using errors.Is() and errors.As() functions
introduction
errors