skeleton added
This commit is contained in:
12
gates/telegram/interface.go
Normal file
12
gates/telegram/interface.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package telegram
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"tgVideoCall/domain/admin/models"
|
||||
)
|
||||
|
||||
type Service interface {
|
||||
// Получает администратора из базы данных, возвращает ошибку если не является администратором
|
||||
GetAdmin(ctx context.Context, id int)(admin models.Admin, err error)
|
||||
}
|
||||
Reference in New Issue
Block a user