GOSAMPLES
All
Tours
Cheatsheets
Shorts
file
Go file handling examples. Learn how to read, write, process and perform many other operations on files in Go
Please consider supporting us by disabling your ad blocker
๐ค Create a new file in Go
shorts
introduction
file
April 5, 2022
๐งน Delete or remove a file in Go
shorts
introduction
file
April 5, 2022
๐ Create a directory in Go
Learn how to create a single or a hierarchy of directories
introduction
file
September 14, 2021
๐ Convert JSON to CSV in Go
Learn how to transform JSON file to CSV
introduction
file
json
csv
September 13, 2021
๐๏ธ Unzip a file in Go
Learn how to uncompress a zip file
compression
file
zip
September 9, 2021
๐๏ธ Zip a file in Go
Learn how to compress a file or folder into zip format
compression
file
zip
August 25, 2021
โ Temporary file in Go - how to create?
Learn how to create and use a temporary file or folder
introduction
file
August 23, 2021
๐ Convert CSV to JSON in Go
Learn how to transform CSV file data to JSON
introduction
file
csv
json
August 17, 2021
๐๏ธ Read a CSV file in Go
Learn how to read a CSV or TSV file line by line or the whole file at once
introduction
file
csv
August 16, 2021
๐ List files in a directory in Go
Learn how to list files in a folder in 4 different ways
introduction
file
August 9, 2021
1
...
2