Hacker News new | ask | show | jobs
by y4m4b4 3585 days ago
Quite easy actually you can look at

https://github.com/restic/restic/blob/master/run_integration...

1 comments

I don't want to run it in an external process, I want to run it in a goroutine.
For that you can just do

```

package main

import minio "github.com/minio/minio/cmd"

func main() {

        go minio.Main()

        ... do your stuff ...
}

```