Login
From:
gosamples.dev
(Uncensored)
subscribe
Create a new file in Go (Golang)
https://gosamples.dev/create-file/
links
backlinks
Roast topics
Find topics
Find it!
To create a new empty file in Golang, use the os.Create() function, which creates a new file ready for reading and writing