Cookies management by TermsFeed Cookie Consent


Learn the basics of Go with practical examples

📁 Create a directory in Go

Learn how to create a single or a hierarchy of directories
introduction file

📎 Convert JSON to CSV in Go

Learn how to transform JSON file to CSV
introduction file json csv

🖐️ Declare enum in Go

Learn how to declare and use enums
introduction enum iota const

🧐 iota in Go - how to use?

Learn how to use iota keyword in constants declaration
introduction iota const

💡 Empty slice vs nil slice in Go

Learn what is the difference between empty and nil slice and when to use them
introduction slice

📰 String padding in Go

Learn how to print aligned strings padded with spaces
introduction strings format

🍕 Compare two slices in Go

Learn how to check if two slices are equal
introduction slice strings

⌛ Temporary file in Go - how to create?

Learn how to create and use a temporary file or folder
introduction file

👣 Print struct variables in Go

Learn how to print struct with variable names
introduction strings go-spew

🔄 Convert CSV to JSON in Go

Learn how to transform CSV file data to JSON
introduction file csv json
1 ... 5 ... 8