What import should I used when Embedding? #1971
-
I feel like I am running in circles on trying to work out what import's I should be using to allow for Embedding roadrunner? example go code:
I've tried
So of course I have tried go get github.com/roadrunner-server/roadrunner/v2024@latest, but the same message stands. No amount of clearing mod cache, running mod vendor or mod tidy between attempts of go get make any different to the situation that I can see. How should the import be setup to give me access to roadrunner.NewRR(), roadrunner.DefaultPluginList(), etc ? and what go get command should I be using? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @andykillen 👋 |
Beta Was this translation helpful? Give feedback.
Hey @andykillen 👋
You should use
"github.com/roadrunner-server/roadrunner/v2024/lib"
and uselib.NewRR()
to start 😃