Getting started¶
Install the required tools and create the Azure resources for a Go function application.
Prerequisites¶
Before creating your first function, install:
- Go 1.24 or later
- Azure Functions Core Tools version 4.12.0 or later, which includes Go worker support
- Azure CLI 2.87.0 or later if you want to create and manage Azure resources from the command line
Install Azure Functions Core Tools using npm:
Confirm that both tools are available:
Create a Function App in Azure¶
Go support is currently in preview and uses the native Go runtime on the Flex Consumption plan.
The simplest way to create a Function App is through the Azure portal, which automates the supporting resource and role assignment setup.
You can also provision the Function App and its dependencies using:
- The Azure CLI
- Bicep
- Azure Resource Manager (ARM) templates
- Terraform or another infrastructure-as-code tool
After creating the Function App, continue developing and testing locally. The Azure resource is needed only when you are ready to deploy the application.