Back

How to create a function in Golang?

  • 0
  • Self Hosted
  • Functions
Tobi696
20 Aug, 2024, 13:24

Seems like it is already possible to write functions in Golang: https://github.com/appwrite/templates/blob/main/go/starter/README.md But how do we enable the golang runtime? I tried editing my .env Variable like this: _APP_FUNCTIONS_RUNTIMES=node-16.0,python-3.9,go-1.22

But when creating a new function, the dropdown still doesn't show go runtime.

TL;DR
Developers are looking to create a function in Golang but are having trouble enabling the Golang runtime. The solution is to add 'go-1.22' to the _APP_FUNCTIONS_RUNTIMES variable in the .env file.
Steven
20 Aug, 2024, 13:43

Wait until 1.6 😜

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more