Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RezaSi/go-interview-practice
/ functions
Functions
12,886 in github.com/RezaSi/go-interview-practice
⨍
Functions
12,886
◇
Types & classes
2,640
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/YounesBouchbouk/solution-template.go:54
Method
GetValue
(ctx context.Context, key interface{})
challenge-30/submissions/ForcemCS/solution-template.go:14
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/ForcemCS/solution-template.go:43
Method
GetValue
Get a value from context
challenge-30/submissions/mvsouza/solution-template.go:21
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/mvsouza/solution-template.go:54
Method
GetValue
Get a value from context
challenge-30/submissions/Ali-Fartoot/solution-template.go:21
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/Ali-Fartoot/solution-template.go:62
Method
GetValue
Get a value from context
challenge-30/submissions/mick4711/solution-template.go:21
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/mick4711/solution-template.go:54
Method
GetValue
Get a value from context
challenge-30/submissions/PolinaSvet/solution-template.go:23
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/PolinaSvet/solution-template.go:62
Method
GetValue
Get a value from context
challenge-30/submissions/y1hao/solution-template.go:21
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/y1hao/solution-template.go:54
Method
GetValue
Get a value from context
challenge-30/submissions/cep-ter/solution-template.go:21
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/cep-ter/solution-template.go:60
Method
GetValue
Get a value from context
challenge-30/submissions/xyersh/solution-template.go:22
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/xyersh/solution-template.go:55
Method
GetValue
Get a value from context
challenge-30/submissions/MaryNfs/solution-template.go:21
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/MaryNfs/solution-template.go:57
Method
GetValue
Get a value from context
challenge-30/submissions/berkkaradalan/solution-template.go:21
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/berkkaradalan/solution-template.go:54
Method
GetValue
Get a value from context
challenge-30/submissions/muhammedkucukaslan/solution-template.go:21
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/muhammedkucukaslan/solution-template.go:55
Method
GetValue
Get a value from context
challenge-30/submissions/PureTeamLead/solution-template.go:21
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/PureTeamLead/solution-template.go:61
Method
GetValue
Get a value from context
challenge-30/submissions/ImHotDog/solution-template.go:21
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/ImHotDog/solution-template.go:60
Method
GetValue
Get a value from context
challenge-30/submissions/ashwinipatankar/solution-template.go:21
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/ashwinipatankar/solution-template.go:60
Method
GetValue
Get a value from context
challenge-30/submissions/KhaledMosaad/solution-template.go:21
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/KhaledMosaad/solution-template.go:63
Method
GetValue
Get a value from context
challenge-30/submissions/Onkar-25/solution-template.go:21
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/Onkar-25/solution-template.go:63
Method
GetValue
Get a value from context
challenge-30/submissions/nzamulov/solution-template.go:21
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/nzamulov/solution-template.go:54
Method
GetValue
Get a value from context
challenge-30/submissions/Gandook/solution-template.go:21
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/Gandook/solution-template.go:54
Method
GetValue
Get a value from context
challenge-30/submissions/JackDalberg/solution-template.go:21
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/JackDalberg/solution-template.go:60
Method
GetValue
Get a value from context
challenge-30/submissions/hrabkin/solution-template.go:21
Method
GetValue
GetValue retrieves a value from the context
challenge-30/submissions/hrabkin/solution-template.go:60
Method
GitHubWebhookHandler
GitHubWebhookHandler handles GitHub sponsor webhooks
web-ui/internal/handlers/api.go:1226
Method
HandleAuthorize
HandleAuthorize handles the authorization endpoint
challenge-15/submissions/odelbos/solution-template.go:158
Method
HandleAuthorize
HandleAuthorize handles the authorization endpoint
challenge-15/submissions/Kosench/solution-template.go:185
Method
HandleAuthorize
HandleAuthorize handles GET requests to the OAuth2 authorization endpoint. On success it issues a short-lived authorization code and 302-redirects the
challenge-15/submissions/PopovMarko/solution-template.go:235
Method
HandleAuthorize
(w http.ResponseWriter, r *http.Request)
challenge-15/submissions/imankhodadi/solution-template.go:149
Method
HandleAuthorize
HandleAuthorize handles the authorization endpoint
challenge-15/submissions/mvsouza/solution-template.go:202
Method
HandleAuthorize
HandleAuthorize
challenge-15/submissions/PolinaSvet/solution-template.go:376
Method
HandleAuthorize
HandleAuthorize handles the authorization endpoint
challenge-15/submissions/nzamulov/solution-template.go:160
Method
HandleAuthorize
HandleAuthorize handles the authorization endpoint
challenge-15/submissions/Cpoing/solution-template.go:168
Method
HandleBooks
HandleBooks processes the book-related endpoints
challenge-9/solution-template.go:94
Method
HandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/odelbos/solution-template.go:211
Method
HandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/Kosench/solution-template.go:354
Method
HandleBooks
HandleBooks processes the book-related endpoints Transport layer
challenge-9/submissions/PopovMarko/solution-template.go:408
Method
HandleBooks
this function signature is part of the assignment signature and cannot be deleted
challenge-9/submissions/imankhodadi/solution-template.go:374
Method
HandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/nosrio/solution-template.go:393
Method
HandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/mvsouza/solution-template.go:306
Method
HandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/mick4711/solution-template.go:234
Method
HandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/ne0phyte/solution-template.go:199
Method
HandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/PolinaSvet/solution-template.go:390
Method
HandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/brenoamin/solution-template.go:202
Method
HandleBooks
(w http.ResponseWriter, r *http.Request)
challenge-9/submissions/kushalShukla-web/solution-template.go:198
Method
HandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/ashwinipatankar/solution-template.go:229
Method
HandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/nzamulov/solution-template.go:191
Method
HandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/Cpoing/solution-template.go:224
Method
HandleBooks
HandleBooks processes the book-related endpoints
challenge-9/submissions/Gandook/solution-template.go:210
Method
HandlePackageChallenge
HandlePackageChallenge handles package challenge test and submit requests
web-ui/internal/handlers/api.go:821
Method
HandleSubmissions
HandleSubmissions handles submission operations
web-ui/internal/handlers/api.go:223
Method
HandleToken
HandleToken handles the token endpoint
challenge-15/submissions/odelbos/solution-template.go:253
Method
HandleToken
HandleToken handles the token endpoint This is where the authorization code is exchanged for tokens Or the access token is refreshed using a refresh t
challenge-15/submissions/Kosench/solution-template.go:333
Method
HandleToken
HandleToken handles POST requests to the OAuth2 token endpoint. It dispatches by grant_type to either the authorization_code or refresh_token flow. Th
challenge-15/submissions/PopovMarko/solution-template.go:392
Method
HandleToken
(w http.ResponseWriter, r *http.Request)
challenge-15/submissions/imankhodadi/solution-template.go:256
Method
HandleToken
HandleToken handles the token endpoint
challenge-15/submissions/mvsouza/solution-template.go:282
Method
HandleToken
HandleToken
challenge-15/submissions/PolinaSvet/solution-template.go:484
Method
HandleToken
HandleToken handles the token endpoint
challenge-15/submissions/nzamulov/solution-template.go:251
Method
HandleToken
HandleToken handles the token endpoint
challenge-15/submissions/Cpoing/solution-template.go:254
Function
HighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions TODO: Optimize this function to reduce allocat
challenge-16/submissions/odelbos/solution-template.go:132
Function
HighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions TODO: Optimize this function to reduce allocat
challenge-16/submissions/Kosench/solution-template.go:119
Function
HighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions
challenge-16/submissions/PopovMarko/solution-template.go:99
Function
HighAllocationSearch
(text, substr string)
challenge-16/submissions/Hikitak/solution-template.go:88
Function
HighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions TODO: Optimize this function to reduce allocat
challenge-16/submissions/manik23/solution-template.go:188
Function
HighAllocationSearch
(text, substr string)
challenge-16/submissions/imankhodadi/solution-template.go:83
Function
HighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions TODO: Optimize this function to reduce allocat
challenge-16/submissions/YounesBouchbouk/solution-template.go:136
Function
HighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions
challenge-16/submissions/mvsouza/solution-template.go:125
Function
HighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions TODO: Optimize this function to reduce allocat
challenge-16/submissions/Ali-Fartoot/solution-template.go:128
Function
HighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions
challenge-16/submissions/mick4711/solution-template.go:199
Function
HighAllocationSearch
Running tool: /usr/local/go/bin/go test -benchmem -run=^$ -bench ^BenchmarkHighAllocationSearch$ challenge16 -count=1 goos: darwin goarch: arm64 pkg:
challenge-16/submissions/y1hao/solution-template.go:231
Function
HighAllocationSearch
Running tool: /usr/local/go/bin/go test -benchmem -run=^$ -bench ^BenchmarkHighAllocationSearch$ challenge16 -count=1 goos: darwin goarch: arm64 pkg:
challenge-16/submissions/AkifhanIlgaz/solution-template.go:231
Function
HighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions TODO: Optimize this function to reduce allocat
challenge-16/submissions/awsl1110/solution-template.go:111
Function
HighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions TODO: Optimize this function to reduce allocat
challenge-16/submissions/nzamulov/solution-template.go:113
Function
HighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions TODO: Optimize this function to reduce allocat
challenge-16/submissions/kuzminprog/solution-template.go:108
Method
HitRate
()
challenge-28/solution-template.go:15
Method
HitRate
()
challenge-28/solution-template.go:122
Method
HitRate
()
challenge-28/solution-template.go:172
Method
HitRate
()
challenge-28/submissions/odelbos/solution-template.go:17
Method
HitRate
()
challenge-28/submissions/odelbos/solution-template.go:117
Method
HitRate
()
challenge-28/submissions/odelbos/solution-template.go:213
Method
HitRate
()
challenge-28/submissions/odelbos/solution-template.go:342
Method
HitRate
()
challenge-28/submissions/odelbos/solution-template.go:403
Method
HitRate
HitRate returns the cache hit rate as a float between 0 and 1.
challenge-28/submissions/PopovMarko/solution-template.go:35
← previous
next →
7,301–7,400 of 12,886, ranked by callers