Cookies management by TermsFeed Cookie Consent

introduction

Learn the basics of Go with practical examples

Help us grow this site πŸš€. Disable your ad blocker to see non-intrusive ads

πŸ“ Convert date or time to string in Go

shorts introduction time

✨ 5 different ways to loop over a time.Ticker in Go

Learn how to use the popular time.Ticker struct in loops
introduction time

🫘 Count the occurrences of an element in a slice in Go

Learn how to count elements in a slice that meet certain conditions
introduction generics generics-intro

β€οΈβ€πŸ©Ή Recover function in Go

Learn what it is for and how to use the built-in recover() function
introduction syntax builtin

🐾 How to compare strings in Go

shorts introduction strings

πŸ›‘ Exit an app in Go

shorts introduction os

πŸ’» How to check your Go version

Learn how to check Go version in CLI, application, or script
introduction version

🎲 Generate a random string in Go

Learn how to generate a random string of a fixed length
introduction random strings

🐀 Create a new file in Go

shorts introduction file

🧹 Delete or remove a file in Go

shorts introduction file
1 ... 8