Cookies management by TermsFeed Cookie Consent

introduction

Learn the basics of Go with practical examples

πŸ“… YYYY-MM-DD date format in Go

Learn how to format date without time
introduction time

🌯 Wrap and Unwrap errors in Go

Learn how to create and handle an error hierarchy
introduction errors

🎠 Round float to any precision in Go

Learn how to create a universal rounding function
introduction numbers math

πŸ—οΈ Check if a map contains a key in Go

Learn how to check if a key exists in a map
introduction map

πŸ‰ Do-while loop in Go

Learn how to simulate a popular programming loop
introduction loop

πŸ’• Copy a map in Go

Learn how to copy all elements of a map to another
introduction map

βœ‚οΈ Remove duplicates from a slice in Go

Learn how to create a slice with unique values
introduction slice

♾️ Infinite loop in Go

Learn how to define a “while true” loop
introduction loop

πŸ“” Convert a struct to io.Reader in Go

Learn how to convert a struct to io.Reader and send it as an HTTP POST request body
introduction http

πŸ“Ÿ Convert HTTP response io.ReadCloser to string in Go

Learn how to convert a HTTP client response body to string
introduction http
1 ... 3 ... 8