Files
postmoogle/smtp/utils.go
2022-08-21 18:41:35 +03:00

8 lines
117 B
Go

package smtp
import "strings"
func Domain(email string) string {
return email[strings.LastIndex(email, "@")+1:]
}