:wave: how do I use golang 1.16 with seed?
# seed
s
👋 how do I use golang 1.16 with seed?
f
Hey @Shine Li!
Just spoke to the team, so we only support 1.15 out of the box. But you can update the version using a buildspec quite easily.
Add a
seed.yml
at the repo root:
Copy code
before_compile:
  - rm -r $HOME/.goenv && git clone <https://github.com/syndbg/goenv.git> $HOME/.goenv && goenv install 1.16.4 && goenv global 1.16.4
  - go version
The update is fairly fast. I just tried it out, and it takes ~10s
Give it a try and let me know if it works for you.