17 lines
346 B
Go
17 lines
346 B
Go
package notificationProviderConsole
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
type NotificationProviderImplConsole struct{}
|
|
|
|
func New() *NotificationProviderImplConsole {
|
|
return &NotificationProviderImplConsole{}
|
|
}
|
|
|
|
func (p *NotificationProviderImplConsole) SendNotification(title string, message string) error {
|
|
fmt.Printf("%s: %s\n", title, message)
|
|
return nil
|
|
}
|