Extracted scenario

This commit is contained in:
Artyom Belousov 2021-06-06 11:00:50 +03:00
parent c02435ccaa
commit cc2058090c
13 changed files with 235 additions and 173 deletions

View file

@ -1,17 +0,0 @@
package vk
type testSender struct {
sent []testMessage
}
type testMessage struct {
userId int64
message string
}
func (s *testSender) send(userId int64, message string) {
s.sent = append(s.sent, testMessage{
userId: userId,
message: message,
})
}