Rename Files in Folder Firstly, create a folder named "files". Then move the files in the "files" folder you want to rename. Finally, open the "Main.go" and edit it.