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 for the core worker; Go 1.25 or later for extension modules
- 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¶
Native Go support is generally available on the Flex Consumption plan and in preview on Elastic Premium and Dedicated Linux App Service plans.
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.