Skip to content

Instantly share code, notes, and snippets.

View ronniegeraghty's full-sized avatar
🐋

Ronnie Geraghty ronniegeraghty

🐋
View GitHub Profile
@ronniegeraghty
ronniegeraghty / EventGridNamespaceGOStarter.md
Last active May 7, 2024 18:56
Event Grid Namespaces Go Study Starter Files

Instructions for Starter Project set up

  1. Create a dir for the exercise.
  2. Within that dir create a eventSender and a eventReceiver dir.
  3. Within the eventSender dir run the following commands:
  • go mod init eventSender
  • go get github.com/Azure/azure-sdk-for-go/sdk/messaging/eventgrid/aznamespaces
  1. In the eventSender dir create a eventSender.go file and copy the contents of the envetSender.go file from this gist into it.
  2. Within the eventSender dir, use the following command to run the event sender program:
  • go run eventSender.go
  1. Within the eventReceiver dir run the following commands: