Cookies management by TermsFeed Cookie Consent

introduction

Learn the basics of Go with practical examples

🙌 Case-insensitive string comparison in Go

Learn how to compare strings in a case-insensitive manner
introduction strings

🏁 Check if a string starts with a substring in Go

Learn how to use strings.HasPrefix() function
introduction strings

✍️ Write to a file in Go

Learn how to write any data to a file
introduction file

📖 Read a file in Go

Learn how to read the content of any file
introduction file

🔢 Generate a random number in Go

Learn how to generate a random number
introduction random

🍃 Environment variables in Go

Learn how to work with environment variables
introduction environment variables

💤 While loop in Golang

Learn how to construct the popular programming while loop
introduction loop

⛓️ URL Decode in Go

Learn how to URL decode a path and query parameters in Go
introduction encoding url

🔗 URL Encode in Go

Learn how to URL encode a path and query parameters in Go
introduction encoding url

😴 Sleep function in Go - pause the program execution

Learn how to pause the execution of a current Goroutine
introduction time
1 ... 7 ... 8