Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Orenoid/telegram-account-bot
/ functions
Functions
278 in github.com/Orenoid/telegram-account-bot
⨍
Functions
278
◇
Types & classes
59
Method
PreCheckoutQuery
PreCheckoutQuery indicates an expected call of PreCheckoutQuery.
mock/telebotmock/mock.go:418
Method
Query
Query mocks base method.
mock/telebotmock/mock.go:424
Method
Query
Query indicates an expected call of Query.
mock/telebotmock/mock.go:432
Method
Recipient
Recipient mocks base method.
mock/telebotmock/mock.go:438
Method
Recipient
Recipient indicates an expected call of Recipient.
mock/telebotmock/mock.go:446
Method
Render
()
telebot/templates.go:12
Method
Reply
Reply mocks base method.
mock/telebotmock/mock.go:452
Method
Reply
Reply indicates an expected call of Reply.
mock/telebotmock/mock.go:464
Method
Respond
Respond mocks base method.
mock/telebotmock/mock.go:471
Method
Respond
Respond indicates an expected call of Respond.
mock/telebotmock/mock.go:483
Method
Send
Send mocks base method.
mock/telebotmock/mock.go:489
Method
Send
Send indicates an expected call of Send.
mock/telebotmock/mock.go:501
Method
Send
(bot *telebot.Bot, recipient telebot.Recipient, _ *telebot.SendOptions)
telebot/senders.go:56
Method
SendAlbum
SendAlbum mocks base method.
mock/telebotmock/mock.go:508
Method
SendAlbum
SendAlbum indicates an expected call of SendAlbum.
mock/telebotmock/mock.go:520
Method
Sender
Sender indicates an expected call of Sender.
mock/telebotmock/mock.go:535
Method
Set
Set mocks base method.
mock/telebotmock/mock.go:541
Method
Set
Set indicates an expected call of Set.
mock/telebotmock/mock.go:547
Method
SetUserBalance
(userID uint, balance float64)
service/user/user.go:18
Method
SetUserBalance
SetUserBalance mocks base method.
dal/user/mock.go:140
Method
SetUserBalance
SetUserBalance indicates an expected call of SetUserBalance.
dal/user/mock.go:149
Method
SetUserBalance
(userID uint, balanceFloat float64)
dal/user/mysql.go:102
Method
SetUserState
SetUserState mocks base method.
telebot/user_state_mock.go:66
Method
SetUserState
SetUserState indicates an expected call of SetUserState.
telebot/user_state_mock.go:74
Method
Ship
Ship mocks base method.
mock/telebotmock/mock.go:553
Method
Ship
Ship indicates an expected call of Ship.
mock/telebotmock/mock.go:565
Method
ShippingQuery
ShippingQuery mocks base method.
mock/telebotmock/mock.go:571
Method
ShippingQuery
ShippingQuery indicates an expected call of ShippingQuery.
mock/telebotmock/mock.go:579
Method
Swap
(i, j int)
telebot/templates.go:206
Method
Swap
(i, j int)
telebot/templates.go:220
Function
TestBillCreatedTemplate_Render
(t *testing.T)
telebot/templates_test.go:12
Function
TestBillListTemplate_Render
(t *testing.T)
telebot/templates_test.go:20
Function
TestBillServiceSuite
(t *testing.T)
service/bill/bill_test.go:119
Function
TestCmd
(t *testing.T)
cmd/telebot/telebot_test.go:5
Method
TestCreateBill
()
service/bill/bill_test.go:57
Method
TestCreateBillIfUserNotFound
()
service/bill/bill_test.go:92
Method
TestCreateOrUpdateUser
()
service/telegram/telegram_test.go:51
Method
TestCreateUser
()
service/user/user_test.go:48
Function
TestDateBillsSender_Send
(t *testing.T)
telebot/senders_test.go:14
Function
TestDateTitleTemplate_Render
(t *testing.T)
telebot/templates_test.go:137
Method
TestGetBaseUserID
()
service/telegram/telegram_test.go:68
Method
TestGetBillsByCreateTime
()
service/bill/bill_test.go:104
Function
TestGetConfigFromEnv
(t *testing.T)
conf/config_test.go:11
Function
TestGetDayRange
(t *testing.T)
telebot/handlers_test.go:346
Method
TestHandleStartCommand
()
telebot/handlers_test.go:78
Method
TestHandleStartCommandIfNilChat
()
telebot/handlers_test.go:295
Method
TestHandleText
()
telebot/handlers_test.go:117
Function
TestHandlersHub
(t *testing.T)
telebot/handlers_test.go:307
Function
TestInMemoryUserStateManager_ClearUserState
(t *testing.T)
telebot/user_state_test.go:14
Function
TestInMemoryUserStateManager_GetUserState
(t *testing.T)
telebot/user_state_test.go:28
Function
TestInMemoryUserStateManager_SetUserState
(t *testing.T)
telebot/user_state_test.go:46
Function
TestMonthTitleTemplate_Render
(t *testing.T)
telebot/templates_test.go:132
Function
TestNewBot
(t *testing.T)
telebot/telebot_test.go:13
Function
TestNewHandlerHub
(t *testing.T)
telebot/handlers_test.go:25
Function
TestNewInMemoryUserStateManager
(t *testing.T)
telebot/user_state_test.go:8
Function
TestNewService
(t *testing.T)
service/telegram/telegram_test.go:16
Function
TestNewService
(t *testing.T)
service/bill/bill_test.go:19
Function
TestNewUserService
(t *testing.T)
service/user/user_test.go:15
Method
TestOnCreatingBill
()
telebot/handlers_test.go:231
Method
TestOnEmpty
()
telebot/handlers_test.go:186
Method
TestOnEmptyIfEmptyText
()
telebot/handlers_test.go:220
Function
TestParseAmount
(t *testing.T)
telebot/handlers_test.go:327
Function
TestParseBill
(t *testing.T)
telebot/handlers_test.go:311
Function
TestRegisterHandlers
(t *testing.T)
telebot/telebot_test.go:41
Function
TestService
(t *testing.T)
service/telegram/telegram_test.go:81
Method
TestSetUserBalanceIfUserNotFound
()
service/user/user_test.go:75
Method
TestSetUserBalanceSuccessFully
()
service/user/user_test.go:61
Function
TestUserServiceTestSuite
(t *testing.T)
service/user/user_test.go:91
Method
Text
Text mocks base method.
mock/telebotmock/mock.go:585
Method
Text
Text indicates an expected call of Text.
mock/telebotmock/mock.go:593
Method
Update
Update indicates an expected call of Update.
mock/telebotmock/mock.go:607
Method
ValidateToken
(token string)
dal/user/mysql.go:41
Method
importBills
(c echo.Context)
api/api.go:43
Function
init
()
cmd/telebotctl/telebotctl.go:13
Function
init
()
cmd/telebotctl/db/db.go:18
Function
main
()
cmd/telebotctl/telebotctl.go:17
Function
main
()
cmd/api/api.go:39
Function
main
()
cmd/telebot/telebot.go:79
← previous
201–278 of 278, ranked by callers