Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Creatly/creatly-backend
/ functions
Functions
1,083 in github.com/Creatly/creatly-backend
⨍
Functions
1,083
◇
Types & classes
319
Method
SendUserVerificationEmail
(input VerificationEmailInput)
internal/service/emails.go:73
Method
SendUserVerificationEmail
SendUserVerificationEmail mocks base method.
internal/service/mocks/mock.go:744
Method
SendUserVerificationEmail
SendUserVerificationEmail indicates an expected call of SendUserVerificationEmail.
internal/service/mocks/mock.go:752
Method
Set
(key, value interface{}, ttl int64)
pkg/cache/memory.go:44
Method
SetFondyCredentials
(ctx context.Context, id primitive.ObjectID, fondy domain.Fondy)
internal/repository/schools_mongo.go:95
Method
SetFondyCredentials
SetFondyCredentials mocks base method.
internal/repository/mocks/mock.go:195
Method
SetFondyCredentials
SetFondyCredentials indicates an expected call of SetFondyCredentials.
internal/repository/mocks/mock.go:203
Method
SetLastOpened
(ctx context.Context, studentID, lessonID primitive.ObjectID)
internal/service/student_lessons.go:24
Method
SetLastOpened
(ctx context.Context, studentId, lessonId primitive.ObjectID)
internal/service/service.go:107
Method
SetLastOpened
SetLastOpened mocks base method.
internal/service/mocks/mock.go:445
Method
SetLastOpened
SetLastOpened indicates an expected call of SetLastOpened.
internal/service/mocks/mock.go:453
Method
SetLastOpened
(ctx context.Context, studentID, lessonID primitive.ObjectID)
internal/repository/student_lessons_mongo.go:29
Method
SetLastOpened
SetLastOpened mocks base method.
internal/repository/mocks/mock.go:457
Method
SetLastOpened
SetLastOpened indicates an expected call of SetLastOpened.
internal/repository/mocks/mock.go:465
Method
SetLessonFinished
(ctx context.Context, studentId, lessonId primitive.ObjectID)
internal/service/students.go:201
Method
SetLessonFinished
SetLessonFinished mocks base method.
internal/service/mocks/mock.go:351
Method
SetLessonFinished
SetLessonFinished indicates an expected call of SetLessonFinished.
internal/service/mocks/mock.go:359
Method
SetSession
(ctx context.Context, studentId primitive.ObjectID, session domain.Session)
internal/repository/repository.go:42
Method
SetSession
(ctx context.Context, id primitive.ObjectID, session domain.Session)
internal/repository/repository.go:57
Method
SetSession
(ctx context.Context, studentID primitive.ObjectID, session domain.Session)
internal/repository/students_mongo.go:159
Method
SetSession
(ctx context.Context, id primitive.ObjectID, session domain.Session)
internal/repository/admins_mongo.go:38
Method
SetSession
(ctx context.Context, userID primitive.ObjectID, session domain.Session)
internal/repository/users_mongo.go:78
Method
SetSession
SetSession mocks base method.
internal/repository/mocks/mock.go:99
Method
SetSession
SetSession indicates an expected call of SetSession.
internal/repository/mocks/mock.go:107
Method
SetSession
SetSession mocks base method.
internal/repository/mocks/mock.go:377
Method
SetSession
SetSession indicates an expected call of SetSession.
internal/repository/mocks/mock.go:385
Method
SetSession
SetSession mocks base method.
internal/repository/mocks/mock.go:539
Method
SetSession
SetSession indicates an expected call of SetSession.
internal/repository/mocks/mock.go:547
Method
SetStatus
(ctx context.Context, id primitive.ObjectID, status string)
internal/service/orders.go:92
Method
SetStatus
(ctx context.Context, id primitive.ObjectID, status string)
internal/service/service.go:314
Method
SetStatus
SetStatus mocks base method.
internal/service/mocks/mock.go:1536
Method
SetStatus
SetStatus indicates an expected call of SetStatus.
internal/service/mocks/mock.go:1544
Method
SetStatus
(ctx context.Context, id primitive.ObjectID, status string)
internal/repository/orders_mongo.go:100
Method
SetStatus
SetStatus mocks base method.
internal/repository/mocks/mock.go:1399
Method
SetStatus
SetStatus indicates an expected call of SetStatus.
internal/repository/mocks/mock.go:1407
Method
SetupSuite
()
tests/main_test.go:56
Method
SignIn
(ctx context.Context, input SchoolSignInInput)
internal/service/admins.go:41
Method
SignIn
(ctx context.Context, input UserSignInInput)
internal/service/users.go:91
Method
SignIn
(ctx context.Context, input SchoolSignInInput)
internal/service/service.go:93
Method
SignIn
(ctx context.Context, input SchoolSignInInput)
internal/service/service.go:111
Method
SignIn
(ctx context.Context, input SchoolSignInInput)
internal/service/students.go:92
Method
SignIn
SignIn mocks base method.
internal/service/mocks/mock.go:71
Method
SignIn
SignIn indicates an expected call of SignIn.
internal/service/mocks/mock.go:80
Method
SignIn
SignIn mocks base method.
internal/service/mocks/mock.go:365
Method
SignIn
SignIn indicates an expected call of SignIn.
internal/service/mocks/mock.go:374
Method
SignIn
SignIn mocks base method.
internal/service/mocks/mock.go:556
Method
SignIn
SignIn indicates an expected call of SignIn.
internal/service/mocks/mock.go:565
Method
SignUp
(ctx context.Context, input UserSignUpInput)
internal/service/users.go:54
Method
SignUp
(ctx context.Context, input StudentSignUpInput)
internal/service/service.go:92
Method
SignUp
(ctx context.Context, input StudentSignUpInput)
internal/service/students.go:52
Method
SignUp
SignUp mocks base method.
internal/service/mocks/mock.go:86
Method
SignUp
SignUp indicates an expected call of SignUp.
internal/service/mocks/mock.go:94
Method
SignUp
SignUp mocks base method.
internal/service/mocks/mock.go:380
Method
SignUp
SignUp indicates an expected call of SignUp.
internal/service/mocks/mock.go:388
Method
TearDownSuite
()
tests/main_test.go:71
Function
TestAPISuite
(t *testing.T)
tests/main_test.go:48
Method
TestAdminCreateCourse
()
tests/admins_test.go:15
Method
TestAdminGetAllCourses
()
tests/admins_test.go:52
Method
TestAdminGetCourseByID
()
tests/admins_test.go:84
Method
TestFondyCallbackApproved
()
tests/payment_test.go:18
Method
TestFondyCallbackDeclined
()
tests/payment_test.go:89
Method
TestGetAllCourses
()
tests/courses_test.go:38
Method
TestGetCourseById
()
tests/courses_test.go:64
Method
TestGetCourseOffers
()
tests/courses_test.go:91
Method
TestGetPromoCode
()
tests/promocodes_test.go:12
Method
TestGetPromoCodeInvalid
()
tests/promocodes_test.go:26
Function
TestHandler_adminCreatePromocode
(t *testing.T)
internal/delivery/http/v1/admins_test.go:116
Function
TestHandler_adminDeleteCourse
(t *testing.T)
internal/delivery/http/v1/admins_test.go:572
Function
TestHandler_adminDeletePromocode
(t *testing.T)
internal/delivery/http/v1/admins_test.go:501
Function
TestHandler_adminGetPromocodeById
(t *testing.T)
internal/delivery/http/v1/admins_test.go:312
Function
TestHandler_adminGetPromocodes
(t *testing.T)
internal/delivery/http/v1/admins_test.go:215
Function
TestHandler_adminUpdatePromocode
(t *testing.T)
internal/delivery/http/v1/admins_test.go:407
Function
TestHandler_adminUpdateSchoolSettings
(t *testing.T)
internal/delivery/http/v1/admins_test.go:21
Function
TestHandler_adminUploadImage
(t *testing.T)
internal/delivery/http/v1/admins_upload_test.go:24
Function
TestHandler_getPromocode
(t *testing.T)
internal/delivery/http/v1/promocodes_test.go:20
Function
TestHandler_studentCreateOrder
(t *testing.T)
internal/delivery/http/v1/students_test.go:20
Function
TestHandler_studentGetModuleContent
(t *testing.T)
internal/delivery/http/v1/students_test.go:230
Function
TestHandler_studentGetModuleOffers
(t *testing.T)
internal/delivery/http/v1/students_test.go:129
Function
TestHandler_studentSetLessonFinished
(t *testing.T)
internal/delivery/http/v1/students_test.go:340
Function
TestHandler_studentSignUp
(t *testing.T)
internal/delivery/http/v1/students_test.go:440
Function
TestInit
(t *testing.T)
internal/config/config_test.go:10
Function
TestMain
(m *testing.M)
tests/main_test.go:124
Function
TestNewAdminsService_GetCourseById
(t *testing.T)
internal/service/admins_test.go:150
Function
TestNewAdminsService_GetCourseByIdErr
(t *testing.T)
internal/service/admins_test.go:125
Function
TestNewAdminsService_GetCourseByIdNotFoundErr
(t *testing.T)
internal/service/admins_test.go:138
Function
TestNewAdminsService_GetCourses
(t *testing.T)
internal/service/admins_test.go:112
Function
TestNewAdminsService_GetCoursesErr
(t *testing.T)
internal/service/admins_test.go:99
Function
TestNewAdminsService_RefreshTokens
(t *testing.T)
internal/service/admins_test.go:85
Function
TestNewAdminsService_RefreshTokensErr
(t *testing.T)
internal/service/admins_test.go:72
Function
TestNewAdminsService_SignIn
(t *testing.T)
internal/service/admins_test.go:58
Function
TestNewAdminsService_SignInErr
(t *testing.T)
internal/service/admins_test.go:44
Function
TestNewHandler
(t *testing.T)
internal/delivery/http/handler_test.go:16
Function
TestNewHandler_Init
(t *testing.T)
internal/delivery/http/handler_test.go:22
Method
TestStudentCreateOrderWithPromocode
()
tests/students_test.go:313
Method
TestStudentCreateOrderWithoutPromocode
()
tests/students_test.go:234
Method
TestStudentCreateOrderWrongOffer
()
tests/students_test.go:278
Method
TestStudentCreateOrderWrongPromo
()
tests/students_test.go:362
Method
TestStudentGetModuleOffers
()
tests/students_test.go:185
Method
TestStudentGetPaidLessonsWithoutPurchase
()
tests/students_test.go:152
Method
TestStudentSignInNotVerified
()
tests/students_test.go:64
← previous
next →
801–900 of 1,083, ranked by callers