Cookies management by TermsFeed Cookie Consent

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

๐Ÿงน Delete or remove a file in Go

shorts introduction file

๐Ÿ“ 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

๐Ÿ—„๏ธ Unzip a file in Go

Learn how to uncompress a zip file
compression file zip

๐Ÿ—œ๏ธ Zip a file in Go

Learn how to compress a file or folder into zip format
compression file zip

โŒ› Temporary file in Go - how to create?

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

๐Ÿ”„ Convert CSV to JSON in Go

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

๐Ÿ—’๏ธ 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

๐Ÿ“ List files in a directory in Go

Learn how to list files in a folder in 4 different ways
introduction file
1 ... 2