MCPcopy Create free account

hub / github.com/RezaSi/go-interview-practice / functions

Functions12,886 in github.com/RezaSi/go-interview-practice

FunctionAuditMiddleware
AuditMiddleware logs command execution for audit
packages/cobra/challenge-4-advanced-features/submissions/PolinaSvet/solution.go:750
FunctionAuthInterceptor
AuthInterceptor is a client interceptor for authentication
challenge-14/submissions/odelbos/solution-template.go:271
FunctionAuthInterceptor
AuthInterceptor is a client interceptor for authentication
challenge-14/submissions/Kosench/solution-template.go:305
FunctionAuthInterceptor
AuthInterceptor is a client interceptor for authentication
challenge-14/submissions/PopovMarko/solution-template.go:279
FunctionAuthInterceptor
AuthInterceptor is a client interceptor for authentication
challenge-14/submissions/shivamarora1/solution-template.go:275
FunctionAuthInterceptor
AuthInterceptor is a client interceptor for authentication
challenge-14/submissions/czysiaczek/solution-template.go:280
FunctionAuthInterceptor
AuthInterceptor is a client interceptor for authentication
challenge-14/submissions/mvsouza/solution-template.go:289
FunctionAuthInterceptor
AuthInterceptor is a client interceptor for authentication
challenge-14/submissions/mick4711/solution-template.go:277
FunctionAuthInterceptor
AuthInterceptor is a client interceptor for authentication
challenge-14/submissions/PolinaSvet/solution-template.go:283
FunctionAuthInterceptor
AuthInterceptor is a client interceptor for authentication
challenge-14/submissions/y1hao/solution-template.go:273
FunctionAuthInterceptor
AuthInterceptor is a client interceptor for authentication
challenge-14/submissions/longbui98/solution-template.go:272
FunctionAuthInterceptor
AuthInterceptor is a client interceptor for authentication
challenge-14/submissions/ashwinipatankar/solution-template.go:285
FunctionAuthInterceptor
AuthInterceptor is a client interceptor for authentication
challenge-14/submissions/nzamulov/solution-template.go:224
FunctionAuthInterceptor
AuthInterceptor is a client interceptor for authentication
challenge-14/submissions/Cpoing/solution-template.go:279
FunctionAuthInterceptor
AuthInterceptor is a client interceptor for authentication
challenge-14/submissions/JackDalberg/solution-template.go:275
FunctionAuthInterceptor
AuthInterceptor is a client interceptor for authentication
challenge-14/submissions/kuzminprog/solution-template.go:267
FunctionBasicRouting
()
packages/gin/challenge-1-basic-routing/submissions/yogtanko/solution.go:40
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/jrbarbati/solution-template.go:161
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/odelbos/solution-template.go:125
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/lyb88999/solution-template.go:144
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/kiramux/solution-template.go:173
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/Kosench/solution-template.go:200
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/PopovMarko/solution-template.go:282
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/Hikitak/solution-template.go:178
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/manik23/solution-template.go:179
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/sutthiphong2005/solution-template.go:173
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/shivamarora1/solution-template.go:144
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/mvsouza/solution-template.go:161
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/Mxn-ptr/solution-template.go:169
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction BatchUpdateInventory updates the quantity of multiple products
challenge-13/submissions/Ali-Fartoot/solution-template.go:215
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/mick4711/solution-template.go:157
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/y1hao/solution-template.go:167
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/wgasparin/solution-template.go:157
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/DavidCao22/solution-template.go:209
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/inok94/solution-template.go:159
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/MaryNfs/solution-template.go:143
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/berkkaradalan/solution-template.go:179
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/muhammedkucukaslan/solution-template.go:160
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/Johrespi/solution-template.go:180
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/grozdovk/solution-template.go:152
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/blxxdclxud/solution-template.go:133
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/ashwinipatankar/solution-template.go:144
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/KhaledMosaad/solution-template.go:154
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/RezaSi/solution-template.go:137
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/t4e1/solution-template.go:163
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/Onkar-25/solution-template.go:177
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/nzamulov/solution-template.go:140
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/Cpoing/solution-template.go:167
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/Gandook/solution-template.go:161
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/SemenTretyakov/solution-template.go:143
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/JackDalberg/solution-template.go:140
MethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/submissions/kuzminprog/solution-template.go:190
FunctionBenchmarkCacheOperations
BenchmarkCacheOperations benchmarks cache performance
challenge-28/solution-template_test.go:452
FunctionBenchmarkExpensiveCalculation
(b *testing.B)
challenge-16/solution-template_test.go:251
FunctionBenchmarkFixedWindowLimiter_Allow
(b *testing.B)
challenge-29/solution-template_test.go:440
FunctionBenchmarkHighAllocationSearch
(b *testing.B)
challenge-16/solution-template_test.go:338
FunctionBenchmarkInefficientStringBuilder
(b *testing.B)
challenge-16/solution-template_test.go:171
FunctionBenchmarkLIS
Benchmark the performance of the different implementations
challenge-24/solution-template_test.go:198
FunctionBenchmarkMemoryHighAllocationSearch
(b *testing.B)
challenge-16/solution-template_test.go:378
FunctionBenchmarkMemoryOptimizedSearch
(b *testing.B)
challenge-16/solution-template_test.go:390
FunctionBenchmarkOptimizedCalculation
(b *testing.B)
challenge-16/solution-template_test.go:270
FunctionBenchmarkOptimizedSearch
(b *testing.B)
challenge-16/solution-template_test.go:358
FunctionBenchmarkOptimizedSort
(b *testing.B)
challenge-16/solution-template_test.go:104
FunctionBenchmarkOptimizedStringBuilder
(b *testing.B)
challenge-16/solution-template_test.go:191
FunctionBenchmarkPatternMatching
Benchmark to compare the performance of different algorithms
challenge-23/solution-template_test.go:154
FunctionBenchmarkSecureRoute
(b *testing.B)
challenge-5/solution-template_test.go:110
FunctionBenchmarkSlidingWindowLimiter_Allow
(b *testing.B)
challenge-29/solution-template_test.go:429
FunctionBenchmarkSlowSort
(b *testing.B)
challenge-16/solution-template_test.go:91
FunctionBenchmarkTokenBucketLimiter_Allow
Benchmark Tests
challenge-29/solution-template_test.go:418
MethodBroadcast
Broadcast sends a message to all connected clients
challenge-8/submissions/llopp1994/solution-template.go:91
MethodBroadcast
Broadcast sends a message to all connected clients except sender
challenge-8/submissions/Kosench/solution-template.go:250
MethodBroadcast
Broadcast sends a message to all connected clients
challenge-8/submissions/PopovMarko/solution-template.go:99
MethodBroadcast
(sender *Client, message string)
challenge-8/submissions/imankhodadi/solution-template.go:86
MethodBroadcast
Broadcast sends a message to all connected clients
challenge-8/submissions/yogtanko/solution-template.go:92
MethodBroadcast
Broadcast sends a message to all connected clients
challenge-8/submissions/nosrio/solution-template.go:133
MethodBroadcast
Broadcast sends a message to all connected clients
challenge-8/submissions/jersonzc/solution-template.go:95
MethodBroadcast
Broadcast sends a message to all connected clients
challenge-8/submissions/mvsouza/solution-template.go:88
MethodBroadcast
(sender *Client, message string)
challenge-8/submissions/Ali-Fartoot/solution-template.go:103
MethodBroadcast
Broadcast sends a message to all connected clients
challenge-8/submissions/mick4711/solution-template.go:86
MethodBroadcast
Broadcast sends a message to all connected clients
challenge-8/submissions/ne0phyte/solution-template.go:84
MethodBroadcast
Broadcast sends a message to all connected clients
challenge-8/submissions/y1hao/solution-template.go:81
MethodBroadcast
Broadcast sends a message to all connected clients
challenge-8/submissions/HeimaoLST/solution-template.go:97
MethodBroadcast
Broadcast sends a message to all connected clients
challenge-8/submissions/brenoamin/solution-template.go:114
MethodBroadcast
Broadcast sends a message to all connected clients
challenge-8/submissions/nzamulov/solution-template.go:84
MethodBroadcast
Broadcast sends a message to all connected clients
challenge-8/submissions/Cpoing/solution-template.go:92
MethodBroadcast
Broadcast sends a message to all connected clients
challenge-8/submissions/Gandook/solution-template.go:75
MethodBroadcast
Broadcast sends a message to all connected clients
challenge-8/submissions/JackDalberg/solution-template.go:130
MethodBurst
()
challenge-29/solution-template.go:18
MethodBurst
()
challenge-29/solution-template.go:92
MethodBurst
()
challenge-29/solution-template.go:161
MethodBurst
()
challenge-29/solution-template.go:229
MethodBurst
()
challenge-29/submissions/odelbos/solution-template.go:25
MethodBurst
()
challenge-29/submissions/odelbos/solution-template.go:123
MethodBurst
()
challenge-29/submissions/odelbos/solution-template.go:230
MethodBurst
()
challenge-29/submissions/odelbos/solution-template.go:332
MethodBurst
()
challenge-29/submissions/PopovMarko/solution-template.go:25
MethodBurst
Burst returns the maximum bucket capacity.
challenge-29/submissions/PopovMarko/solution-template.go:333
MethodBurst
Burst returns the effective burst size for compatibility with the interface.
challenge-29/submissions/PopovMarko/solution-template.go:579
MethodBurst
Burst returns the effective burst size for compatibility with the interface.
challenge-29/submissions/PopovMarko/solution-template.go:826
MethodBurst
()
challenge-29/submissions/imankhodadi/solution-template.go:18
← previousnext →5,401–5,500 of 12,886, ranked by callers