Added multiple services to be trigered from main API
This commit is contained in:
11
services/contact/contact_service.go
Normal file
11
services/contact/contact_service.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package contact
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
func ContactService(ch chan string) {
|
||||
for msg := range ch {
|
||||
fmt.Println("Contact Service: ", msg)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user