MCPcopy Create free account
hub / github.com/ethstorage/es-node / addToEmailList

Function addToEmailList

cmd/alert/main.go:117–123  ·  view source on GitHub ↗
(emailList map[string]struct{}, emailToString string)

Source from the content-addressed store, hash-verified

115}
116
117func addToEmailList(emailList map[string]struct{}, emailToString string) {
118 emails := strings.SplitSeq(emailToString, ",")
119
120 for email := range emails {
121 emailList[email] = struct{}{}
122 }
123}
124
125func writeToGitHubEnv(emailList map[string]struct{}, lg log.Logger) {
126 if len(emailList) == 0 {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected