Following the steps in the official docs: (Build serverless functions with Go | Netlify Docs) I’ve added a test
hello.go lambda function but when I try to call it I get 404 (function not found). Also it’s not showing in the dashboard under Functions section.
I’ve added the binary in the functions folder and configured in netlify.toml:
[dev] command = "yarn start" [build] command = "yarn build && yarn export" publish = "out" functions = "functions" [build.environment] # Change this path with the path to your repository GO_IMPORT_PATH="github.com/oanaOM/blossom" GO_VERSION="1.16"
This is the link to my repo: GitHub - oanaOM/blossom: Test
Any suggestion which steps am I missing?