Embedding rclone mount in a go client

What is the problem you are having with rclone?

I'd like to embed an rclone mount function on a cli written in go. does anyone have any experience with that? Is it something doable with a reasonable amount of effort?
In case not, would anyone be interested in having a guide for that?

What is your rclone version (output from rclone version)

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Which cloud storage system are you using? (eg Google Drive)

The command you were trying to run (eg rclone copy /tmp remote:tmp)

The rclone config contents with secrets removed.

A log from the command with the -vv flag

hello and welcome to the forum.

all programming languages have a way to run a command line app.

if you search the net you can find
https://golang.org/pkg/os/exec/
https://medium.com/sysf/building-simple-command-line-cli-applications-in-go-using-commando-8a8e0edbd48a

Yeah, thank you, but I'm rather interested in using the rclone go packages to do that, instead of calling the rclone client from outside the code.

does this help?

Need example RClone copy using golang
Sample Go app that fetches files

Yes it does! I found only the second one by myself, but the first link looks way more complete, thank you!