This topic describes the Go runtimes in which you can write function code in Function Compute.
Go runtimes
Function Compute supports Go 1.x. We recommend that you use Go 1.8 or later.
Version | Operating system | Architecture |
Go 1.x | Linux | x86_64 |
Important
Go runtimes must be used on Linux and does not support the ARM64 architecture.
SDK for Go and related tools
Function Compute provides the following SDKs for Go and tools:
FC SDK for Go: the tool used for implementing programming models in a Go runtime. Function Compute runs your handlers based on this package.
fccontext: the auxiliary library that provides context information for function execution.
examples: the sample code for the Go runtime.
events: the definitions of commonly used event sources.