MCPcopy Create free account

hub / github.com/OtusGolang/webinars_practical_part / functions

Functions1,100 in github.com/OtusGolang/webinars_practical_part

↓ 2 callersFunctionfailOnClose
(closer io.Closer, msg string)
31-integration-testing/cmd/notification-service/main.go:39
↓ 2 callersFunctionfailOnErr
(err error)
29-queues/consumer_short/main.go:41
↓ 2 callersFunctionfile_elections_proto_rawDescGZIP
()
27-grpc/elections-with-stats/pb/elections.pb.go:172
↓ 2 callersFunctionfile_proto_benchmark_proto_rawDescGZIP
()
26-grpc-2/int-sint/proto/benchmark.pb.go:137
↓ 2 callersFunctionhandler
(w http.ResponseWriter, r *http.Request)
23-profiling/16_trace/standard.go:14
↓ 2 callersFunctionmustNil
(err error)
18-format/base64/base64.go:28
↓ 2 callersFunctionparseTs
(s string)
19-clean-architecture/cmd/grpc_client.go:25
↓ 2 callersFunctionremoveString
Helper function
28-caching/cache.go:384
↓ 2 callersFunctionrepeatFn
(done <-chan struct{}, fn func() interface{})
14-concurrency-patterns/9_2_fanin_fanout/repeat_fn.go:3
↓ 2 callersFunctionstructToMap
(iv interface{})
20-reflection/4_struct_to_map/main.go:15
↓ 2 callersFunctiontake
(done <-chan struct{}, valueStream <-chan interface{}, num int)
14-concurrency-patterns/9_2_fanin_fanout/take.go:3
↓ 1 callersMethodAddCountry
(name string, code int)
05-structures/country/main.go:22
↓ 1 callersFunctionAssetDir
AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data c
21-codegen/01-bindata/static_generated.go:168
↓ 1 callersFunctionAssetInfo
AssetInfo loads and returns the asset info 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:129
↓ 1 callersFunctionConcatString
(m map[string]struct{})
23-profiling/00_lesson/ex4_concat_string_test.go:7
↓ 1 callersFunctionConvertMapWithoutGenerics
(a map[string]int32)
23-profiling/11_generics/generics.go:7
↓ 1 callersMethodCreateTask
(ctx context.Context, req *proto.TaskRequest)
26-grpc-2/taskmanager/internal/task/service.go:12
↓ 1 callersMethodDeleteTask
(ctx context.Context, req *proto.DeleteTaskRequest)
26-grpc-2/taskmanager/internal/task/service.go:16
↓ 1 callersMethodDescriptor
()
21-codegen/10-protobuf/Person.pb.go:61
↓ 1 callersMethodError
()
08-errors-handling/02_err_is_values/main.go:26
↓ 1 callersFunctionFast
()
23-profiling/05_fmtvsstrconv/fmtvsstrconv.go:12
↓ 1 callersFunctionFast
()
23-profiling/06_stringsvsre/stringsvsre.go:12
↓ 1 callersFunctionFast
()
23-profiling/04_reuse/reuse.go:16
↓ 1 callersFunctionFast
()
23-profiling/07_stringbuilder/stringbuilder.go:15
↓ 1 callersFunctionFast
()
23-profiling/13_pprof_console/prealloc.go:3
↓ 1 callersFunctionFast
()
23-profiling/03_prealloc/prealloc.go:3
↓ 1 callersFunctionFast
()
23-profiling/01_bench/exbench.go:3
↓ 1 callersFunctionFillSlice
()
23-profiling/00_lesson/ex1_slice_test.go:5
↓ 1 callersFunctionGenerateActionId
()
27-grpc/elections/client/main.go:28
↓ 1 callersFunctionGenerateActionId
()
27-grpc/elections-with-stats/client/main.go:29
↓ 1 callersMethodGetAllTasks
(ctx context.Context, req *proto.GetAllTasksRequest)
26-grpc-2/taskmanager/internal/task/service.go:14
↓ 1 callersMethodGetBooks
(ctx context.Context)
25-sql/internal/repository/repository.go:11
↓ 1 callersMethodGetCallCount
GetCallCount returns the number of actual DB calls made
28-caching/api.go:66
↓ 1 callersMethodGetCountryCode
(name string)
05-structures/country/main.go:26
↓ 1 callersMethodGetEvent
()
19-clean-architecture/internal/adapters/grpc/api/api.pb.go:243
↓ 1 callersFunctionGetNextID
()
27-grpc/elections/client/main.go:23
↓ 1 callersFunctionGetNextID
()
27-grpc/elections-with-admin/client/main.go:23
↓ 1 callersFunctionGetNextID
()
27-grpc/elections-with-stats/client/main.go:24
↓ 1 callersFunctionGetProfileName
GetProfileName returns a human-readable name
28-caching/generator.go:75
↓ 1 callersMethodGetTask
(ctx context.Context, req *proto.GetTaskRequest)
26-grpc-2/taskmanager/internal/task/service.go:13
↓ 1 callersMethodGetText
()
19-clean-architecture/internal/adapters/grpc/api/api.pb.go:86
↓ 1 callersMethodGetTitle
()
19-clean-architecture/internal/adapters/grpc/api/api.pb.go:79
↓ 1 callersMethodGetUser
GetUser retrieves a user (checks cache first)
28-caching/api.go:33
↓ 1 callersMethodGetUser
GetUser retrieves a user by ID
21-codegen/12-wire/database.go:39
↓ 1 callersMethodGetVote
()
27-grpc/elections-with-admin/pb/elections.pb.go:203
↓ 1 callersFunctionHalfSum
go:noinline
16-internals-memory/halfsum/main.go:6
↓ 1 callersMethodHasKeyword
HasKeyword - метод структуры item; говорит, содержит ли элемент в своём заголовке или описании строку word
01-first-go-program/searcher/rss.go:41
↓ 1 callersFunctionIMax
(a, b int)
23-profiling/11_generics/generics.go:32
↓ 1 callersFunctionInitializeApp
InitializeApp creates and wires all dependencies
21-codegen/12-wire/wire.go:9
↓ 1 callersMethodLogToFile
(msg string)
09-interfaces-p1/logger.go:14
↓ 1 callersMethodMarshalJSON
MarshalJSON supports json.Marshaler interface
23-profiling/10_exjs/exjs_easyjson.go:64
↓ 1 callersMethodMode
Mode return file mode
21-codegen/01-bindata/static_generated.go:61
↓ 1 callersMethodName
()
05-structures/child/main.go:9
↓ 1 callersMethodNamedQuery
(query string, arg interface{})
31-integration-testing/cmd/registration-service/db.go:13
↓ 1 callersFunctionNewAPIService
NewAPIService creates a new API service with a cache
28-caching/api.go:25
↓ 1 callersFunctionNewConsumer
(amqpURI, exchange, exchangeType, queueName, key, ctag string)
29-queues/consumer/consumer.go:55
↓ 1 callersFunctionNewDatabase
NewDatabase creates a new Database with logger
21-codegen/12-wire/database.go:12
↓ 1 callersFunctionNewLogger
NewLogger creates a new SimpleLogger
21-codegen/12-wire/logger.go:20
↓ 1 callersFunctionNewMockUsersDB
NewMockUsersDB creates a new mock instance
03-unit-testing/mock_suite/mock_db_test.go:25
↓ 1 callersFunctionNewMockUsersDB
NewMockUsersDB creates a new mock instance
03-unit-testing/mock_faker/mock_db_test.go:25
↓ 1 callersFunctionNewPrinterService
NewPrinterService creates a new PrinterService
21-codegen/12-wire/logger.go:42
↓ 1 callersFunctionNewRequestGenerator
NewRequestGenerator creates a new request generator
28-caching/generator.go:29
↓ 1 callersFunctionNewService
()
26-http/handler/handler.go:53
↓ 1 callersFunctionNewService
()
27-grpc/elections-with-admin/service.go:25
↓ 1 callersFunctionNewService
()
27-grpc/elections-with-stats/service.go:26
↓ 1 callersFunctionNewUserRepository
NewUserRepository creates a new UserRepository
21-codegen/12-wire/database.go:32
↓ 1 callersFunctionNewUserService
NewUserService creates a new UserService with all dependencies
21-codegen/12-wire/service.go:11
↓ 1 callersFunctionNewWorld
(name string)
05-structures/country/main.go:14
↓ 1 callersFunctionPrepareStat
(res *http.Response)
26-http/client/main.go:98
↓ 1 callersMethodPrint
Print prints a message
21-codegen/12-wire/logger.go:49
↓ 1 callersFunctionPrintAll
(vals []any)
open-lesson/interfaces/00_intro/any_test.go:8
↓ 1 callersFunctionReadFile
(fname string)
open-lesson/interfaces/04_zerovalue/zerovalue_test.go:10
↓ 1 callersFunctionRegisterCalendarServiceServer
(s *grpc.Server, srv CalendarServiceServer)
19-clean-architecture/internal/adapters/grpc/api/api.pb.go:343
↓ 1 callersMethodReset
()
21-codegen/10-protobuf/Person.pb.go:86
↓ 1 callersMethodResetCallCount
ResetCallCount resets the counter
28-caching/api.go:73
↓ 1 callersFunctionRestoreAsset
RestoreAsset restores an asset under the given directory
21-codegen/01-bindata/static_generated.go:202
↓ 1 callersFunctionSMax
(a, b string)
23-profiling/11_generics/generics.go:39
↓ 1 callersMethodSaveEvent
(ctx context.Context, event *entities.Event)
19-clean-architecture/internal/domain/interfaces/event_storage.go:11
↓ 1 callersMethodSay
()
05-structures/child/main.go:13
↓ 1 callersMethodSayHello
()
open-lesson/interfaces/00_intro/receivers_test.go:8
↓ 1 callersMethodSayHello
()
open-lesson/interfaces/02_variables/refs_test.go:16
↓ 1 callersMethodServeHTTP
(w http.ResponseWriter, r *http.Request)
26-http/server/main.go:23
↓ 1 callersMethodSign
()
10-interfaces-p2/05-privates/contract/contgract.go:4
↓ 1 callersMethodSign
()
10-interfaces-p2/05-privates/impl/ext_impl.go:6
↓ 1 callersFunctionSlow
()
23-profiling/05_fmtvsstrconv/fmtvsstrconv.go:8
↓ 1 callersFunctionSlow
()
23-profiling/06_stringsvsre/stringsvsre.go:21
↓ 1 callersFunctionSlow
()
23-profiling/04_reuse/reuse.go:9
↓ 1 callersFunctionSlow
()
23-profiling/07_stringbuilder/stringbuilder.go:5
↓ 1 callersFunctionSlow
()
23-profiling/13_pprof_console/prealloc.go:11
↓ 1 callersFunctionSlow
()
23-profiling/03_prealloc/prealloc.go:11
↓ 1 callersFunctionSlow
()
23-profiling/01_bench/exbench.go:14
↓ 1 callersFunctionSlow1
()
23-profiling/03_prealloc/prealloc.go:19
↓ 1 callersFunctionStandardMarshal
()
23-profiling/10_exjs/exjs.go:14
↓ 1 callersFunctionStandardUnmarshal
()
23-profiling/10_exjs/exjs.go:19
↓ 1 callersMethodStartCount
(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption)
26-grpc-2/chat/api/proto/chat_grpc.pb.go:32
↓ 1 callersMethodStats
()
28-caching/cache.go:21
↓ 1 callersFunctionStreamServerRequestValidatorInterceptor
(validator Validator)
27-grpc/elections-with-admin/validate.go:33
↓ 1 callersMethodString
()
18-format/protobufex/person.pb.go:43
↓ 1 callersMethodString
()
27-grpc/elections/pb/elections.pb.go:39
↓ 1 callersMethodString
()
27-grpc/elections-with-admin/pb/elections.pb.go:43
← previousnext →101–200 of 1,100, ranked by callers