Files
Timo Behrendt 7bb1e9ca08
All checks were successful
CD / test (push) Successful in 48s
CD / Build and push (push) Successful in 3m48s
feat: notification provider (#8)
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
2024-08-11 11:52:51 +02:00

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
}