forked from ebhomengo/niki
14 lines
205 B
Go
14 lines
205 B
Go
|
package setup
|
||
|
|
||
|
type TestSmsAdapter struct {
|
||
|
Inbox string
|
||
|
}
|
||
|
|
||
|
func NewTestSmsAdapter() *TestSmsAdapter {
|
||
|
return &TestSmsAdapter{}
|
||
|
}
|
||
|
|
||
|
func (s *TestSmsAdapter) Send(_, message string) {
|
||
|
s.Inbox = message
|
||
|
}
|