MCPcopy Create free account

hub / github.com/OtusGolang/webinars_practical_part / functions

Functions1,100 in github.com/OtusGolang/webinars_practical_part

↓ 1 callersMethodString
()
27-grpc/elections-with-stats/pb/elections.pb.go:43
↓ 1 callersMethodString
()
03-unit-testing/mock/store_test.go:26
↓ 1 callersMethodSubmitVote
(w http.ResponseWriter, r *http.Request)
26-http/handler/handler.go:60
↓ 1 callersMethodSubmitVote
(ctx context.Context, in *SubmitVoteRequest, opts ...grpc.CallOption)
27-grpc/elections/pb/elections_grpc.pb.go:29
↓ 1 callersMethodSubmitVote
(ctx context.Context, req *pb.Vote)
27-grpc/elections-with-admin/service.go:32
↓ 1 callersFunctionSum
()
23-profiling/00_lesson/ex3_conc_test.go:11
↓ 1 callersMethodTalk
()
open-lesson/interfaces/00_intro/interfaces_test.go:9
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON supports json.Unmarshaler interface
23-profiling/10_exjs/exjs_easyjson.go:76
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON supports json.Unmarshaler interface
21-codegen/05-easyjson/student/student_easyjson.go:127
↓ 1 callersMethodUpdateTask
(ctx context.Context, req *proto.TaskRequest)
26-grpc-2/taskmanager/internal/task/service.go:15
↓ 1 callersFunctionVeryFast
()
23-profiling/07_stringbuilder/stringbuilder.go:25
↓ 1 callersFunctionVerySlow
()
23-profiling/06_stringsvsre/stringsvsre.go:16
↓ 1 callersFunctionanswer
go:noinline
16-internals-memory/heap/main.go:9
↓ 1 callersFunctionbar
()
08-errors-handling/01_std_errors/main.go:12
↓ 1 callersMethodbark
(int)
open-lesson/interfaces/00_intro/composition_test.go:9
↓ 1 callersFunctionbindataRead
(data []byte, name string)
21-codegen/01-bindata/static_generated.go:18
↓ 1 callersFunctioncalcSum
(r []int)
08-errors-handling/09_defer/main.go:7
↓ 1 callersFunctioncheckConfig
(path string)
08-errors-handling/04_err_type/main.go:18
↓ 1 callersMethodcleanupExpired
()
28-caching/cache.go:364
↓ 1 callersFunctionconfirmOne
Обычно поддерживается канал публикаций, счетчик последовательности и множество неподтвержденных номеров, и выполняется цикл до закрытия канала публика
29-queues/producer/producer.go:80
↓ 1 callersFunctionconstruct
TODO: dependency injection, orchestrator
19-clean-architecture/cmd/grpc_server.go:13
↓ 1 callersFunctiondealLongWithCtx
(wg *sync.WaitGroup, ctx context.Context)
24-context-n-net/06b-context/context.go:20
↓ 1 callersFunctiondemoLoggers
()
22-config-n-log/src/13_slog/main.go:40
↓ 1 callersFunctiondereference
()
05-structures/main.go:85
↓ 1 callersFunctiondo
(work int)
08-errors-handling/11_panic_handle/main.go:25
↓ 1 callersFunctiondoManyRollbacks
()
08-errors-handling/13_multierr/main.go:21
↓ 1 callersFunctionemulateLongOperation
(ctx context.Context, id int)
24-context-n-net/06-context/context.go:11
↓ 1 callersFunctionfanIn
(done <-chan struct{}, channels ...<-chan interface{})
14-concurrency-patterns/9_2_fanin_fanout/fan_in.go:5
↓ 1 callersMethodfetchUserFromDB
fetchUserFromDB simulates a database fetch
28-caching/api.go:49
↓ 1 callersFunctionfile_Person_proto_init
()
21-codegen/10-protobuf/Person.pb.go:321
↓ 1 callersFunctionfile_elections_proto_init
()
27-grpc/elections/pb/elections.pb.go:222
↓ 1 callersFunctionfile_elections_proto_init
()
27-grpc/elections-with-admin/pb/elections.pb.go:292
↓ 1 callersFunctionfile_elections_proto_init
()
27-grpc/elections-with-stats/pb/elections.pb.go:203
↓ 1 callersFunctionfile_person_proto_init
()
18-format/protobufex/person.pb.go:142
↓ 1 callersFunctionfile_person_proto_rawDescGZIP
()
18-format/protobufex/person.pb.go:120
↓ 1 callersFunctionfile_proto_benchmark_proto_init
()
26-grpc-2/int-sint/proto/benchmark.pb.go:158
↓ 1 callersFunctionfile_proto_chat_proto_init
()
26-grpc-2/chat/api/proto/chat.pb.go:121
↓ 1 callersFunctionfile_proto_chat_proto_rawDescGZIP
()
26-grpc-2/chat/api/proto/chat.pb.go:96
↓ 1 callersFunctionfile_proto_taskmanager_proto_init
()
26-grpc-2/taskmanager/api/proto/taskmanager.pb.go:520
↓ 1 callersMethodfindLFU
()
28-caching/cache.go:148
↓ 1 callersFunctionfoo
()
08-errors-handling/01_std_errors/main.go:8
↓ 1 callersFunctiongetFeedAndSearch
getFeedAndSearch получает XML по url, парсит RSS ленту и ищет в ней новости с keyword
01-first-go-program/searcher/search.go:44
↓ 1 callersFunctiongetRequest
(reader *bufio.Reader)
27-grpc/elections/client/main.go:60
↓ 1 callersFunctiongetRequest
(reader *bufio.Reader)
27-grpc/elections-with-admin/client/main.go:92
↓ 1 callersFunctiongetRequest
(reader *bufio.Reader)
27-grpc/elections-with-stats/client/main.go:61
↓ 1 callersMethodgetStats
()
27-grpc/elections-with-admin/service.go:122
↓ 1 callersFunctiongetUserEmail
(id int)
08-errors-handling/06_pkg_errors_cause/main.go:17
↓ 1 callersFunctiongetUserEmail
(id int)
08-errors-handling/05_pkg_errors_wrap/main.go:11
↓ 1 callersFunctiongetUserEmail
(id int)
08-errors-handling/08_errors_unwrap/main.go:16
↓ 1 callersFunctiongetUserEmail
(id int)
08-errors-handling/07_fmt_errorf/main.go:9
↓ 1 callersFunctionhandle
(deliveries <-chan amqp.Delivery, done chan error)
29-queues/consumer/consumer.go:155
↓ 1 callersFunctionhandleConnection
(conn net.Conn)
24-context-n-net/01-tcp-chat/chat.go:10
↓ 1 callersMethodhandleRegistration
(w http.ResponseWriter, r *http.Request)
31-integration-testing/cmd/registration-service/server.go:49
↓ 1 callersFunctionhandleRequest
(logger *slog.Logger)
22-config-n-log/src/13_slog/main.go:64
↓ 1 callersFunctioninejctMsgID
(next http.Handler)
24-context-n-net/09-context-with-value/context_with_value.go:28
↓ 1 callersFunctionisPrime
Very slow calculation.
14-concurrency-patterns/9_2_fanin_fanout/prime_finder.go:26
↓ 1 callersFunctionisPrime
Very slow calculation.
14-concurrency-patterns/9_1_prime_finding/prime_finder.go:26
↓ 1 callersFunctionisSliceHasRace
(s []int)
13-sync-primitives-p2/read_race/main.go:80
↓ 1 callersFunctionloginUserById
(id int)
08-errors-handling/06_pkg_errors_cause/main.go:25
↓ 1 callersFunctionloginUserById
(id int)
08-errors-handling/05_pkg_errors_wrap/main.go:19
↓ 1 callersFunctionloginUserById
(id int)
08-errors-handling/08_errors_unwrap/main.go:24
↓ 1 callersFunctionloginUserById
(id int)
08-errors-handling/07_fmt_errorf/main.go:17
↓ 1 callersFunctionmainImpl
()
25-sql/cmd/app/main.go:19
↓ 1 callersFunctionmanualRouting
(w http.ResponseWriter, r *http.Request)
26-http/server/main.go:29
↓ 1 callersFunctionmapToStruct
(mp map[string]interface{}, iv interface{})
20-reflection/5_map_to_struct/main.go:14
↓ 1 callersFunctionmatch
(str, match string)
23-profiling/00_lesson/ex5_match_test.go:12
↓ 1 callersFunctionmustNil
(err error)
18-format/base64flow/main.go:37
↓ 1 callersFunctionnewCommitCmd
()
19-os/cobra/git2/cmd/commit.go:24
↓ 1 callersFunctionopen
()
17-input-output/readfile/main.go:17
↓ 1 callersFunctionor
(channels ...<-chan struct{})
14-concurrency-patterns/4_or_magic/main.go:8
↓ 1 callersFunctionpadString
(s string, length int)
28-caching/main.go:221
↓ 1 callersFunctionpadding
()
05-structures/main.go:40
↓ 1 callersMethodparse
()
22-config-n-log/src/0_base/main.go:17
↓ 1 callersMethodping
(w http.ResponseWriter, r *http.Request)
31-integration-testing/cmd/registration-service/server.go:30
↓ 1 callersFunctionpointers
()
05-structures/main.go:60
↓ 1 callersFunctionprepareRollbackRequests
()
08-errors-handling/13_multierr_legacy/main.go:16
↓ 1 callersFunctionprepareRollbackRequests
()
08-errors-handling/13_multierr/main.go:29
↓ 1 callersFunctionprimeFinder
(done <-chan struct{}, intStream <-chan int)
14-concurrency-patterns/9_2_fanin_fanout/prime_finder.go:3
↓ 1 callersFunctionprimeFinder
(done <-chan struct{}, intStream <-chan int)
14-concurrency-patterns/9_1_prime_finding/prime_finder.go:3
↓ 1 callersFunctionprintSummary
()
28-caching/main.go:102
↓ 1 callersFunctionprocess
(r []int)
08-errors-handling/10_defer/main.go:5
↓ 1 callersFunctionprocessMessage
(nestedLogger *slog.Logger, s string)
22-config-n-log/src/13_slog/slog_test.go:22
↓ 1 callersFunctionpseudo_uuid
Note - NOT RFC4122 compliant
24-context-n-net/09-context-with-value/context_with_value.go:39
↓ 1 callersFunctionpublish
publish — пример публикации сообщения в Exchange. Этот код основан на официальном примере: https://github.com/streadway/amqp/blob/master/_examples/sim
29-queues/producer/producer.go:14
↓ 1 callersFunctionpublish_sync_confirm
publish_sync_confirm — пример публикации сообщения с синхронными подтверждениями. Основной недостаток — нельзя публиковать более одного сообщения за р
29-queues/producer/producer_sync_confirm.go:16
↓ 1 callersFunctionquack
(d Duck)
open-lesson/interfaces/00_intro/interfaces_test.go:26
↓ 1 callersMethodreConnect
(ctx context.Context)
29-queues/consumer_reconnect/consumer.go:153
↓ 1 callersFunctionreadAll
()
17-input-output/readfile/main.go:57
↓ 1 callersFunctionreadAt
()
17-input-output/readfile/main.go:88
↓ 1 callersFunctionreadLoop
(c *websocket.Conn, cid string)
27-websockets/src/2/server/main.go:18
↓ 1 callersFunctionreadLoop
(c *websocket.Conn)
27-websockets/src/1/main.go:19
↓ 1 callersFunctionreadLoop
(c *websocket.Conn)
26-http/client-ws/main.go:13
↓ 1 callersFunctionreadPartOf
()
17-input-output/readfile/main.go:33
↓ 1 callersFunctionreadRoutine
(ctx context.Context, conn net.Conn, wg *sync.WaitGroup)
24-context-n-net/02-chat-client/client.go:14
↓ 1 callersFunctionrepeatFn
(done <-chan struct{}, fn func() interface{})
14-concurrency-patterns/9_1_prime_finding/repeat_fn.go:3
↓ 1 callersFunctionrollback
(interface{})
08-errors-handling/13_multierr_legacy/main.go:20
↓ 1 callersFunctionrollback
(v interface{})
08-errors-handling/13_multierr/main.go:33
↓ 1 callersFunctionrunDemonstration
(generatorProfile string, caches []CacheStrategy)
28-caching/main.go:43
↓ 1 callersFunctionrunWriteLoop
(conn *websocket.Conn, ch <-chan []byte)
27-websockets/src/2/client/main.go:12
↓ 1 callersFunctionsafelyDo
(work int)
08-errors-handling/11_panic_handle/main.go:13
← previousnext →201–300 of 1,100, ranked by callers