thebossdev
thebossdev

Reputation: 134

GO with Heroku Deployments

Hello i am currently running into a problem with using Heroku! It finds all my dependency's until

build project: cannot load io/fs: cannot find module providing package io/fs

I have the vendor directory on my github repo but it just wont build?

Upvotes: 0

Views: 238

Answers (1)

Jonathan Hecl
Jonathan Hecl

Reputation: 370

On heroku -> your project -> Settings -> Buildpacks, and add 'heroku/go'.

Then execute in any terminal:

heroku config:set GOVERSION=1.16

Upvotes: 1

Related Questions