MCPcopy Create free account

hub / github.com/OtusGolang/webinars_practical_part / functions

Functions1,100 in github.com/OtusGolang/webinars_practical_part

↓ 47 callersMethodInfo
(msg string)
21-codegen/12-wire/logger.go:10
↓ 43 callersMethodClose
()
25-sql/internal/repository/repository.go:16
↓ 37 callersMethodError
(msg string)
21-codegen/12-wire/logger.go:11
↓ 22 callersMethodString
()
26-http/client/main.go:94
↓ 18 callersMethodWrite
(p []byte)
19-os/cmd/main.go:37
↓ 16 callersMethodGet
(key string)
28-caching/cache.go:19
↓ 13 callersMethodRun
(ctx context.Context)
25-sql/internal/app/app.go:18
↓ 11 callersMethodString
()
21-codegen/03-stringer/messagestatus_string.go:20
↓ 10 callersMethodFindUser
(id string)
03-unit-testing/mock/db.go:7
↓ 9 callersMethodAddUser
(user User)
03-unit-testing/mock/db.go:6
↓ 9 callersFunctionWriteResponse
(w http.ResponseWriter, resp *Response)
26-http/handler/handler.go:200
↓ 8 callersMethodChannel
()
29-queues/consumer_short/consumer/consumer.go:12
↓ 8 callersMethodNext
Next generates the next request
28-caching/generator.go:38
↓ 8 callersMethodSet
(key string, value interface{})
28-caching/cache.go:20
↓ 8 callersMethodSubmitVote
(ctx context.Context, in *Vote, opts ...grpc.CallOption)
27-grpc/elections-with-stats/pb/elections_grpc.pb.go:31
↓ 7 callersMethodSend
(*Message)
26-grpc-2/chat/api/proto/chat_grpc.pb.go:53
↓ 7 callersMethodType
()
21-codegen/10-protobuf/Person.pb.go:65
↓ 7 callersFunctionfile_proto_taskmanager_proto_rawDescGZIP
()
26-grpc-2/taskmanager/api/proto/taskmanager.pb.go:481
↓ 7 callersFunctionpanicOnErr
(err error)
31-integration-testing/tests/notification_test.go:43
↓ 6 callersMethodQuery
Query executes a query
21-codegen/12-wire/database.go:21
↓ 6 callersMethodRun
()
09-interfaces-p1/app.go:7
↓ 6 callersMethodServe
(addr string)
19-clean-architecture/internal/adapters/grpc/api/server.go:80
↓ 6 callersMethodStep
(s string)
08-errors-handling/02_err_is_values/main.go:13
↓ 6 callersFunctionfailOnError
(err error, msg string)
31-integration-testing/cmd/registration-service/main.go:51
↓ 5 callersMethodConsume
(ctx context.Context, queue string)
29-queues/consumer_short/consumer/consumer.go:32
↓ 5 callersMethodCopy
()
13-sync-primitives-p2/read_race/main.go:23
↓ 5 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use
03-unit-testing/mock_faker/mock_db_test.go:32
↓ 5 callersMethodName
()
28-caching/cache.go:22
↓ 5 callersMethodPublish
(exchange, key string, mandatory, immediate bool, msg amqp.Publishing)
31-integration-testing/cmd/registration-service/rmq.go:12
↓ 5 callersMethodRecvMsg
(m interface{})
27-grpc/elections-with-admin/validate.go:21
↓ 5 callersMethodScan
(src interface{})
25-sql/internal/repository/repository.go:31
↓ 5 callersFunctionfailOnError
(err error, msg string)
31-integration-testing/cmd/notification-service/main.go:33
↓ 4 callersMethodConnect
(ctx context.Context, dsn string)
25-sql/internal/repository/repository.go:15
↓ 4 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use
03-unit-testing/mock_suite/mock_db_test.go:32
↓ 4 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use
03-unit-testing/mock/mock_db_test.go:32
↓ 4 callersMethodGetStats
(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption)
27-grpc/elections-with-stats/pb/elections_grpc.pb.go:32
↓ 4 callersMethodPop
()
05-structures/stack/main.go:15
↓ 4 callersMethodRead
(d []byte)
18-format/base64flow/main.go:15
↓ 4 callersMethodRecv
()
26-grpc-2/chat/api/proto/chat_grpc.pb.go:54
↓ 4 callersMethodShutdown
()
29-queues/consumer/consumer.go:139
↓ 4 callersFunctionfile_Person_proto_rawDescGZIP
()
21-codegen/10-protobuf/Person.pb.go:293
↓ 3 callersFunctionAsset
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
21-codegen/01-bindata/static_generated.go:103
↓ 3 callersMethodCreateTask
(ctx context.Context, in *TaskRequest, opts ...grpc.CallOption)
26-grpc-2/taskmanager/api/proto/taskmanager_grpc.pb.go:33
↓ 3 callersMethodDuplicate
(userID string)
03-unit-testing/mock_faker/store.go:15
↓ 3 callersMethodGet
(url string)
21-codegen/07-mockgen/getter.go:11
↓ 3 callersMethodProcess
(_ context.Context, queueName, regExchangeName, notifyExchangeName string)
31-integration-testing/cmd/notification-service/sender.go:24
↓ 3 callersMethodPush
(v int)
05-structures/stack/main.go:11
↓ 3 callersMethodSize
Size return file size
21-codegen/01-bindata/static_generated.go:56
↓ 3 callersFunction_filePath
(dir, name string)
21-codegen/01-bindata/static_generated.go:243
↓ 3 callersFunctionfailOnClose
(closer io.Closer, msg string)
31-integration-testing/cmd/registration-service/main.go:57
↓ 3 callersMethodfakeUser
()
03-unit-testing/mock_faker/store_test.go:89
↓ 3 callersFunctionfile_elections_proto_rawDescGZIP
()
27-grpc/elections/pb/elections.pb.go:195
↓ 3 callersFunctionfile_elections_proto_rawDescGZIP
()
27-grpc/elections-with-admin/pb/elections.pb.go:258
↓ 3 callersFunctionprocessMessage
(msg interface{})
open-lesson/interfaces/06_type_switch/type_switch_test.go:14
↓ 2 callersFunctionChain
Chain строит окончательный Processor, последовательно оборачивая исходный p всеми middleware из списка. Middleware применяются в порядке передачи (m1,
26-http/middleware-abstract/abstract_middleware.go:17
↓ 2 callersMethodChat
(ctx context.Context, opts ...grpc.CallOption)
26-grpc-2/chat/api/proto/chat_grpc.pb.go:31
↓ 2 callersMethodCreateEvent
(ctx context.Context, owner, title, text string, startTime *time.Time, endTime *time.Time)
19-clean-architecture/internal/adapters/grpc/api/server.go:15
↓ 2 callersMethodCreateEvent
(ctx context.Context, in *CreateEventRequest, opts ...grpc.CallOption)
19-clean-architecture/internal/adapters/grpc/api/api.pb.go:311
↓ 2 callersMethodDeleteTask
(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption)
26-grpc-2/taskmanager/api/proto/taskmanager_grpc.pb.go:37
↓ 2 callersMethodDuplicate
(userID string)
03-unit-testing/mock_suite/store.go:15
↓ 2 callersMethodDuplicate
(userID string)
03-unit-testing/mock/store.go:15
↓ 2 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use
21-codegen/07-mockgen/mocks/mock_getter.go:32
↓ 2 callersFunctionEasyMarshal
()
23-profiling/10_exjs/exjs.go:24
↓ 2 callersFunctionFast
()
23-profiling/02_benchpar/benchpar.go:11
↓ 2 callersFunctionFast
()
23-profiling/08_syncpool/syncpool.go:22
↓ 2 callersFunctionGMax
(a, b T)
23-profiling/11_generics/generics.go:25
↓ 2 callersMethodGetAllTasks
(ctx context.Context, in *GetAllTasksRequest, opts ...grpc.CallOption)
26-grpc-2/taskmanager/api/proto/taskmanager_grpc.pb.go:35
↓ 2 callersMethodGetEndTime
()
19-clean-architecture/internal/adapters/grpc/api/api.pb.go:107
↓ 2 callersMethodGetError
()
19-clean-architecture/internal/adapters/grpc/api/api.pb.go:250
↓ 2 callersFunctionGetPage
(url string, opts ...Option)
21-codegen/07-mockgen/getter.go:14
↓ 2 callersMethodGetResult
()
19-clean-architecture/internal/adapters/grpc/api/api.pb.go:236
↓ 2 callersMethodGetStartTime
()
19-clean-architecture/internal/adapters/grpc/api/api.pb.go:100
↓ 2 callersMethodGetTask
(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption)
26-grpc-2/taskmanager/api/proto/taskmanager_grpc.pb.go:34
↓ 2 callersMethodGetUserInfo
GetUserInfo retrieves user info and prints it
21-codegen/12-wire/service.go:21
↓ 2 callersMethodHandle
(ctx context.Context, fn Worker, threads int)
29-queues/consumer_reconnect/consumer.go:46
↓ 2 callersMethodInternal
(ctx context.Context, opts ...grpc.CallOption)
27-grpc/elections-with-admin/pb/elections_grpc.pb.go:32
↓ 2 callersMethodLen
Len gets the current number of int items in the queue.
21-codegen/08-genny/gen-queue_generic.go:66
↓ 2 callersMethodMarshalJSON
MarshalJSON supports json.Marshaler interface
21-codegen/05-easyjson/student/student_easyjson.go:115
↓ 2 callersMethodModTime
Mode return file modify time
21-codegen/01-bindata/static_generated.go:66
↓ 2 callersFunctionNewFIFOCache
(maxSize int)
28-caching/cache.go:177
↓ 2 callersFunctionNewLFUCache
(maxSize int)
28-caching/cache.go:102
↓ 2 callersFunctionNewLRUCache
(maxSize int)
28-caching/cache.go:35
↓ 2 callersFunctionNewMockUsersDB
NewMockUsersDB creates a new mock instance
03-unit-testing/mock/mock_db_test.go:25
↓ 2 callersFunctionNewRandomCache
(maxSize int)
28-caching/cache.go:238
↓ 2 callersFunctionNewTTLCache
(maxSize int, ttl time.Duration)
28-caching/cache.go:299
↓ 2 callersMethodSayHello
()
open-lesson/interfaces/03_receivers/receivers_test.go:9
↓ 2 callersMethodSayHello
()
open-lesson/interfaces/02_variables/refs_test.go:9
↓ 2 callersFunctionSlow
()
23-profiling/02_benchpar/benchpar.go:20
↓ 2 callersFunctionSlow
()
23-profiling/08_syncpool/syncpool.go:16
↓ 2 callersMethodString
()
19-clean-architecture/internal/adapters/grpc/api/api.pb.go:44
↓ 2 callersMethodUpdateTask
(ctx context.Context, in *TaskRequest, opts ...grpc.CallOption)
26-grpc-2/taskmanager/api/proto/taskmanager_grpc.pb.go:36
↓ 2 callersFunctionWithGetter
(g Getter)
21-codegen/07-mockgen/option.go:9
↓ 2 callersMethodannounceQueue
Задекларировать очередь, которую будем слушать.
29-queues/consumer_reconnect/consumer.go:107
↓ 2 callersFunctionassertString
(iv interface{})
20-reflection/2_assert_string/main.go:8
↓ 2 callersMethodconnect
()
29-queues/consumer_reconnect/consumer.go:72
↓ 2 callersMethoddestroy
()
open-lesson/interfaces/00_intro/composition_test.go:8
↓ 2 callersFunctioneasyjsonB83d7b77DecodeGithubComOtusGolangWebinarsPracticalPart21Codegen05EasyjsonStudent
(in *jlexer.Lexer, out *Student)
21-codegen/05-easyjson/student/student_easyjson.go:20
↓ 2 callersFunctioneasyjsonB83d7b77EncodeGithubComOtusGolangWebinarsPracticalPart21Codegen05EasyjsonStudent
(out *jwriter.Writer, in Student)
21-codegen/05-easyjson/student/student_easyjson.go:71
↓ 2 callersFunctioneasyjsonF1fd6b82Decode10Exjs
(in *jlexer.Lexer, out *A)
23-profiling/10_exjs/exjs_easyjson.go:20
↓ 2 callersFunctioneasyjsonF1fd6b82Encode10Exjs
(out *jwriter.Writer, in A)
23-profiling/10_exjs/exjs_easyjson.go:51
next →1–100 of 1,100, ranked by callers