how to create gui to eject format copy paste folder flashdisk with golang
There are two parts to your one line question
I work on Linux and Mac, on a Microsoft platform some of this will be different
First, how to make a GUI
Look at the fyne project, https://github.com/fyne-io/fyne. This is a multiplatform system for GUI building in Go
Second, how to “eject format copy paste folder flashdisk”
To “paste” a folder to a flash pen drive, plug it in, wait for it to automatically mount and then
copy the files / folder with Go. There are several ways to do this, for example io.WriteFile
To “eject” usually a syscall to umount will work
1 Like
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.