Menu
×
Home
JvaScript
Node.js
Next.js
Flutter
Swift
NestJS
Python
PyTorch
Sample Data
FastAPI
PostgreSQL
MySQL
MongoDB
Mongoose
SQLAlchemy
Sling
Academy
Dark Mode is ON
Home
/
Golang
/
File I/O and Operating System Interaction
File I/O and Operating System Interaction
This series of tutorials is about file I/O and operation system interaction in Go.
1
How to read a whole file at once in Go
2
How to read a file line by line in Go
3
How to read a big file in chunks in Go
4
How to write/ append to a file in Go
5
How to write file using Bufio in Go
6
How to read and write JSON files in Go
7
How to read and parse XML files in Go
8
How to list all files and subfolders in a folder in Go
9
How to zip/ unzip a file or folder in Go
10
Go: How to get filename & extension from a path
11
Go: How to get the size of a file (in KB or mB)
12
How to delete one or multiple files in Go
13
How to check if a file or folder exist in Go
14
How to delete a folder and all of its contents in Go
15
How to get the current directory in Go
16
How to copy or move a file in Go
17
How to automatically generate unique file names in Go
18
How to resize images in Go
19
How to convert PNG or JPEG images to WEBP in Go
20
How to add watermark to an image in Go
21
How to programmatically upload files to AWS S3 using Go
22
How to auto upload files to Dropbox using Go
23
How to detect the current operating system in GO
24
How to get CPU & RAM info by using Go (free, used, etc)
25
How to get the current process ID in Go
26
How to use environment variables in Go