Hi! I am running into a runtime error when I tried to import go. I’ve been trying to follow the documentation at Using the Go Runtime with Vercel functions but I can’t seem to get past this error:
“Error: Function Runtimes must have a valid version, for example now-php@1.0.0.”
vercel.json
{
"functions": {
"api/cards.go": {
"runtime": "go"
},
"api/decks.go": {
"runtime": "go"
},
"api/study.go": {
"runtime": "go"
},
"api/review.go": {
"runtime": "go"
}
},
"routes": [
{
"src": "/api/(.*)",
"dest": "/api/$1"
},
{
"src": "/(.*)",
"dest": "/static/$1"
}
]
Let me know if you have any other questions.I tried several iterations with numbers but couldn't seem to get it working 😞thanks for your help!