{"id":21473366,"url":"https://github.com/jankammerath/azfuncgolang","last_synced_at":"2026-04-13T20:32:12.782Z","repository":{"id":231778056,"uuid":"782706260","full_name":"jankammerath/AzFuncGolang","owner":"jankammerath","description":"Boilerplate for Azure Functions written in Go. It serves as a template to deploy simple Golang apps to Azure Functions automatically using a bicep template.","archived":false,"fork":false,"pushed_at":"2024-04-06T09:10:29.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T07:40:35.617Z","etag":null,"topics":["azure","azure-function","boilerplate","cloud","golang","linux"],"latest_commit_sha":null,"homepage":"","language":"Bicep","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jankammerath.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-04-05T21:09:25.000Z","updated_at":"2024-04-06T08:02:04.000Z","dependencies_parsed_at":"2024-04-05T22:24:40.298Z","dependency_job_id":"4a7ec5bf-d76d-4bdb-b0ee-890b840976f3","html_url":"https://github.com/jankammerath/AzFuncGolang","commit_stats":null,"previous_names":["jankammerath/azfuncgolang"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jankammerath/AzFuncGolang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jankammerath%2FAzFuncGolang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jankammerath%2FAzFuncGolang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jankammerath%2FAzFuncGolang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jankammerath%2FAzFuncGolang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jankammerath","download_url":"https://codeload.github.com/jankammerath/AzFuncGolang/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jankammerath%2FAzFuncGolang/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31770719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","azure-function","boilerplate","cloud","golang","linux"],"created_at":"2024-11-23T10:16:43.628Z","updated_at":"2026-04-13T20:32:12.752Z","avatar_url":"https://github.com/jankammerath.png","language":"Bicep","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azure Function in Golang\n\nThis boilerplate code is for running an Azure Function in Golang locally on the Mac and deploy it to Azure as an Azure Function.\n\n## No arm64 support\n\nWhile AWS allows deploying Lambda functions compiled for `arm64` which will use Amazon's Graviton2 cpus, Azure does not support `arm64`. All Azure functions need to be compiled for `x86_64`, or `amd64` as it is defined the `GOARCH` variable. Hence, this boilerplate has two different scripts. The **Azure Function Tools** do not use containers and thus also require the binary to be compiled for Apple Silicon to run locally on Mac.\n\n## Local invokation\n\nThe `invoke.sh` script will compile the binary for an Apple Silicon (`arm64` for `darwin`) and execute it using the locally installed Azure Function Tools.\n\n## Deployment to Azure\n\nThere's an initial deployment with which the bicep file is deployed. Afterwards the app itself can be deployed to Azure. Whenever bicep file changes, the initial deployment needs to be re-run.\n\n### Initial deployment\n\nThe initial deployment with `az-deploy.sh` will create the resource group in the specified location *(within the script)*, then deploy the resources within that group, run the golang compiler, wait 10 seconds for Azure to set up the resources and finally publish the app itself.\n\n### Recurring deployments\n\nThe script `deploy.sh` will compile for `amd64` (or `x86_64`) on `linux` to deploy it to Azure. It will not touch any of the resources created on Azure.\n\n### Deletion of the app\n\nDeletion of the app is simply done by deleting the created resource group.\n\n```\naz group delete --name AzFuncGolang_RG --yes\n```\n\n## Adapter not required\n\nThere's no adapter needed to run `go-gin` on Azure Functions. Azure Functions will simply invoke the webserver that Gin provides and redirect any requests to it.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjankammerath%2Fazfuncgolang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjankammerath%2Fazfuncgolang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjankammerath%2Fazfuncgolang/lists"}