You need to have installed golang in your environment, Azure resource extension and Core Tools installed in your VSCode
First of all, you need to build the handler.go file by running :
go build handler.go
Then start the function by:
npx func start --custom