Skip Navigation

how can i open the FileChooser for the user to select a file in go

hello, noob here, so, i was writing a program in go to edit a image, and for now i use os.Open(file) to select the file, how i wanted to open the file chooser maybe using org.freedesktop.portal.FileChooser for the user to select the file, but i trying searching it and i couldn't find an answer, maybe i was using the wrong keywords, but anyway, i hope some can help me, thank you!

btw, i'm also not familiar with portals, i was hoping that i could learn a bit more how they work

4
4 comments