Войти
  • 1195Просмотров
  • 1 год назадОпубликованоdavid hwang

Ep9 Send Email Notifications in Goroutines (WaitGroup and Semaphores in Golang)

Now that we have the gRPC implemementations to list and update notification events, let's create an ecomm-notification microservice to send email notification for each of the events. blog post on keeping reference to the variable in a loop fixed in Go : 0:00 intro and recap 1:56 loop every 30 seconds with a ticker 3:23 goroutines and a common mistake 4:33 add waitGroup and semaphores 6:45 add methods to send email and update db accordingly 11:53 add the ecomm-notification main file and run the server 14:13 add a quick fix for the demo 15:21 bring up services and test endpoints