This topic describes the runtime environment for writing function code in Go in Function Compute.
Function Compute supports Go 1.x. We recommend that you use Go 1.8 or later.
runtime must be used on Linux and does not support the ARM64 architecture.
SDK for Go and related tools
Function Compute provides the following SDK for Go and related tools:
- Function Compute SDK for Go: the implementation of the programming model for the Go runtime. Function Compute processes handlers based on the SDK.
- fccontext: the auxiliary library that provides context information for function execution.
- examples: the sample code for the Go runtime.