Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OtusGolang/webinars_practical_part
/ functions
Functions
1,100 in github.com/OtusGolang/webinars_practical_part
⨍
Functions
1,100
◇
Types & classes
274
↓ 1 callers
Method
String
()
27-grpc/elections-with-stats/pb/elections.pb.go:43
↓ 1 callers
Method
String
()
03-unit-testing/mock/store_test.go:26
↓ 1 callers
Method
SubmitVote
(w http.ResponseWriter, r *http.Request)
26-http/handler/handler.go:60
↓ 1 callers
Method
SubmitVote
(ctx context.Context, in *SubmitVoteRequest, opts ...grpc.CallOption)
27-grpc/elections/pb/elections_grpc.pb.go:29
↓ 1 callers
Method
SubmitVote
(ctx context.Context, req *pb.Vote)
27-grpc/elections-with-admin/service.go:32
↓ 1 callers
Function
Sum
()
23-profiling/00_lesson/ex3_conc_test.go:11
↓ 1 callers
Method
Talk
()
open-lesson/interfaces/00_intro/interfaces_test.go:9
↓ 1 callers
Method
UnmarshalJSON
UnmarshalJSON supports json.Unmarshaler interface
23-profiling/10_exjs/exjs_easyjson.go:76
↓ 1 callers
Method
UnmarshalJSON
UnmarshalJSON supports json.Unmarshaler interface
21-codegen/05-easyjson/student/student_easyjson.go:127
↓ 1 callers
Method
UpdateTask
(ctx context.Context, req *proto.TaskRequest)
26-grpc-2/taskmanager/internal/task/service.go:15
↓ 1 callers
Function
VeryFast
()
23-profiling/07_stringbuilder/stringbuilder.go:25
↓ 1 callers
Function
VerySlow
()
23-profiling/06_stringsvsre/stringsvsre.go:16
↓ 1 callers
Function
answer
go:noinline
16-internals-memory/heap/main.go:9
↓ 1 callers
Function
bar
()
08-errors-handling/01_std_errors/main.go:12
↓ 1 callers
Method
bark
(int)
open-lesson/interfaces/00_intro/composition_test.go:9
↓ 1 callers
Function
bindataRead
(data []byte, name string)
21-codegen/01-bindata/static_generated.go:18
↓ 1 callers
Function
calcSum
(r []int)
08-errors-handling/09_defer/main.go:7
↓ 1 callers
Function
checkConfig
(path string)
08-errors-handling/04_err_type/main.go:18
↓ 1 callers
Method
cleanupExpired
()
28-caching/cache.go:364
↓ 1 callers
Function
confirmOne
Обычно поддерживается канал публикаций, счетчик последовательности и множество неподтвержденных номеров, и выполняется цикл до закрытия канала публика
29-queues/producer/producer.go:80
↓ 1 callers
Function
construct
TODO: dependency injection, orchestrator
19-clean-architecture/cmd/grpc_server.go:13
↓ 1 callers
Function
dealLongWithCtx
(wg *sync.WaitGroup, ctx context.Context)
24-context-n-net/06b-context/context.go:20
↓ 1 callers
Function
demoLoggers
()
22-config-n-log/src/13_slog/main.go:40
↓ 1 callers
Function
dereference
()
05-structures/main.go:85
↓ 1 callers
Function
do
(work int)
08-errors-handling/11_panic_handle/main.go:25
↓ 1 callers
Function
doManyRollbacks
()
08-errors-handling/13_multierr/main.go:21
↓ 1 callers
Function
emulateLongOperation
(ctx context.Context, id int)
24-context-n-net/06-context/context.go:11
↓ 1 callers
Function
fanIn
(done <-chan struct{}, channels ...<-chan interface{})
14-concurrency-patterns/9_2_fanin_fanout/fan_in.go:5
↓ 1 callers
Method
fetchUserFromDB
fetchUserFromDB simulates a database fetch
28-caching/api.go:49
↓ 1 callers
Function
file_Person_proto_init
()
21-codegen/10-protobuf/Person.pb.go:321
↓ 1 callers
Function
file_elections_proto_init
()
27-grpc/elections/pb/elections.pb.go:222
↓ 1 callers
Function
file_elections_proto_init
()
27-grpc/elections-with-admin/pb/elections.pb.go:292
↓ 1 callers
Function
file_elections_proto_init
()
27-grpc/elections-with-stats/pb/elections.pb.go:203
↓ 1 callers
Function
file_person_proto_init
()
18-format/protobufex/person.pb.go:142
↓ 1 callers
Function
file_person_proto_rawDescGZIP
()
18-format/protobufex/person.pb.go:120
↓ 1 callers
Function
file_proto_benchmark_proto_init
()
26-grpc-2/int-sint/proto/benchmark.pb.go:158
↓ 1 callers
Function
file_proto_chat_proto_init
()
26-grpc-2/chat/api/proto/chat.pb.go:121
↓ 1 callers
Function
file_proto_chat_proto_rawDescGZIP
()
26-grpc-2/chat/api/proto/chat.pb.go:96
↓ 1 callers
Function
file_proto_taskmanager_proto_init
()
26-grpc-2/taskmanager/api/proto/taskmanager.pb.go:520
↓ 1 callers
Method
findLFU
()
28-caching/cache.go:148
↓ 1 callers
Function
foo
()
08-errors-handling/01_std_errors/main.go:8
↓ 1 callers
Function
getFeedAndSearch
getFeedAndSearch получает XML по url, парсит RSS ленту и ищет в ней новости с keyword
01-first-go-program/searcher/search.go:44
↓ 1 callers
Function
getRequest
(reader *bufio.Reader)
27-grpc/elections/client/main.go:60
↓ 1 callers
Function
getRequest
(reader *bufio.Reader)
27-grpc/elections-with-admin/client/main.go:92
↓ 1 callers
Function
getRequest
(reader *bufio.Reader)
27-grpc/elections-with-stats/client/main.go:61
↓ 1 callers
Method
getStats
()
27-grpc/elections-with-admin/service.go:122
↓ 1 callers
Function
getUserEmail
(id int)
08-errors-handling/06_pkg_errors_cause/main.go:17
↓ 1 callers
Function
getUserEmail
(id int)
08-errors-handling/05_pkg_errors_wrap/main.go:11
↓ 1 callers
Function
getUserEmail
(id int)
08-errors-handling/08_errors_unwrap/main.go:16
↓ 1 callers
Function
getUserEmail
(id int)
08-errors-handling/07_fmt_errorf/main.go:9
↓ 1 callers
Function
handle
(deliveries <-chan amqp.Delivery, done chan error)
29-queues/consumer/consumer.go:155
↓ 1 callers
Function
handleConnection
(conn net.Conn)
24-context-n-net/01-tcp-chat/chat.go:10
↓ 1 callers
Method
handleRegistration
(w http.ResponseWriter, r *http.Request)
31-integration-testing/cmd/registration-service/server.go:49
↓ 1 callers
Function
handleRequest
(logger *slog.Logger)
22-config-n-log/src/13_slog/main.go:64
↓ 1 callers
Function
inejctMsgID
(next http.Handler)
24-context-n-net/09-context-with-value/context_with_value.go:28
↓ 1 callers
Function
isPrime
Very slow calculation.
14-concurrency-patterns/9_2_fanin_fanout/prime_finder.go:26
↓ 1 callers
Function
isPrime
Very slow calculation.
14-concurrency-patterns/9_1_prime_finding/prime_finder.go:26
↓ 1 callers
Function
isSliceHasRace
(s []int)
13-sync-primitives-p2/read_race/main.go:80
↓ 1 callers
Function
loginUserById
(id int)
08-errors-handling/06_pkg_errors_cause/main.go:25
↓ 1 callers
Function
loginUserById
(id int)
08-errors-handling/05_pkg_errors_wrap/main.go:19
↓ 1 callers
Function
loginUserById
(id int)
08-errors-handling/08_errors_unwrap/main.go:24
↓ 1 callers
Function
loginUserById
(id int)
08-errors-handling/07_fmt_errorf/main.go:17
↓ 1 callers
Function
mainImpl
()
25-sql/cmd/app/main.go:19
↓ 1 callers
Function
manualRouting
(w http.ResponseWriter, r *http.Request)
26-http/server/main.go:29
↓ 1 callers
Function
mapToStruct
(mp map[string]interface{}, iv interface{})
20-reflection/5_map_to_struct/main.go:14
↓ 1 callers
Function
match
(str, match string)
23-profiling/00_lesson/ex5_match_test.go:12
↓ 1 callers
Function
mustNil
(err error)
18-format/base64flow/main.go:37
↓ 1 callers
Function
newCommitCmd
()
19-os/cobra/git2/cmd/commit.go:24
↓ 1 callers
Function
open
()
17-input-output/readfile/main.go:17
↓ 1 callers
Function
or
(channels ...<-chan struct{})
14-concurrency-patterns/4_or_magic/main.go:8
↓ 1 callers
Function
padString
(s string, length int)
28-caching/main.go:221
↓ 1 callers
Function
padding
()
05-structures/main.go:40
↓ 1 callers
Method
parse
()
22-config-n-log/src/0_base/main.go:17
↓ 1 callers
Method
ping
(w http.ResponseWriter, r *http.Request)
31-integration-testing/cmd/registration-service/server.go:30
↓ 1 callers
Function
pointers
()
05-structures/main.go:60
↓ 1 callers
Function
prepareRollbackRequests
()
08-errors-handling/13_multierr_legacy/main.go:16
↓ 1 callers
Function
prepareRollbackRequests
()
08-errors-handling/13_multierr/main.go:29
↓ 1 callers
Function
primeFinder
(done <-chan struct{}, intStream <-chan int)
14-concurrency-patterns/9_2_fanin_fanout/prime_finder.go:3
↓ 1 callers
Function
primeFinder
(done <-chan struct{}, intStream <-chan int)
14-concurrency-patterns/9_1_prime_finding/prime_finder.go:3
↓ 1 callers
Function
printSummary
()
28-caching/main.go:102
↓ 1 callers
Function
process
(r []int)
08-errors-handling/10_defer/main.go:5
↓ 1 callers
Function
processMessage
(nestedLogger *slog.Logger, s string)
22-config-n-log/src/13_slog/slog_test.go:22
↓ 1 callers
Function
pseudo_uuid
Note - NOT RFC4122 compliant
24-context-n-net/09-context-with-value/context_with_value.go:39
↓ 1 callers
Function
publish
publish — пример публикации сообщения в Exchange. Этот код основан на официальном примере: https://github.com/streadway/amqp/blob/master/_examples/sim
29-queues/producer/producer.go:14
↓ 1 callers
Function
publish_sync_confirm
publish_sync_confirm — пример публикации сообщения с синхронными подтверждениями. Основной недостаток — нельзя публиковать более одного сообщения за р
29-queues/producer/producer_sync_confirm.go:16
↓ 1 callers
Function
quack
(d Duck)
open-lesson/interfaces/00_intro/interfaces_test.go:26
↓ 1 callers
Method
reConnect
(ctx context.Context)
29-queues/consumer_reconnect/consumer.go:153
↓ 1 callers
Function
readAll
()
17-input-output/readfile/main.go:57
↓ 1 callers
Function
readAt
()
17-input-output/readfile/main.go:88
↓ 1 callers
Function
readLoop
(c *websocket.Conn, cid string)
27-websockets/src/2/server/main.go:18
↓ 1 callers
Function
readLoop
(c *websocket.Conn)
27-websockets/src/1/main.go:19
↓ 1 callers
Function
readLoop
(c *websocket.Conn)
26-http/client-ws/main.go:13
↓ 1 callers
Function
readPartOf
()
17-input-output/readfile/main.go:33
↓ 1 callers
Function
readRoutine
(ctx context.Context, conn net.Conn, wg *sync.WaitGroup)
24-context-n-net/02-chat-client/client.go:14
↓ 1 callers
Function
repeatFn
(done <-chan struct{}, fn func() interface{})
14-concurrency-patterns/9_1_prime_finding/repeat_fn.go:3
↓ 1 callers
Function
rollback
(interface{})
08-errors-handling/13_multierr_legacy/main.go:20
↓ 1 callers
Function
rollback
(v interface{})
08-errors-handling/13_multierr/main.go:33
↓ 1 callers
Function
runDemonstration
(generatorProfile string, caches []CacheStrategy)
28-caching/main.go:43
↓ 1 callers
Function
runWriteLoop
(conn *websocket.Conn, ch <-chan []byte)
27-websockets/src/2/client/main.go:12
↓ 1 callers
Function
safelyDo
(work int)
08-errors-handling/11_panic_handle/main.go:13
← previous
next →
201–300 of 1,100, ranked by callers