MCPcopy Create free account

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

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

↓ 1 callersFunctionfibonacci
Helper function that computes the fibonacci number at position n
challenge-16/submissions/mvsouza/solution-template.go:78
↓ 1 callersFunctionfibonacci
Helper function that computes the fibonacci number at position n
challenge-16/submissions/Ali-Fartoot/solution-template.go:95
↓ 1 callersFunctionfibonacci
Helper function that computes the fibonacci number at position n
challenge-16/submissions/mick4711/solution-template.go:124
↓ 1 callersFunctionfibonacci
Helper function that computes the fibonacci number at position n
challenge-16/submissions/PolinaSvet/solution-template.go:89
↓ 1 callersFunctionfibonacci
Helper function that computes the fibonacci number at position n
challenge-16/submissions/y1hao/solution-template.go:167
↓ 1 callersFunctionfibonacci
Helper function that computes the fibonacci number at position n
challenge-16/submissions/AkifhanIlgaz/solution-template.go:167
↓ 1 callersFunctionfibonacci
Helper function that computes the fibonacci number at position n
challenge-16/submissions/awsl1110/solution-template.go:87
↓ 1 callersFunctionfibonacci
Helper function that computes the fibonacci number at position n
challenge-16/submissions/nzamulov/solution-template.go:85
↓ 1 callersFunctionfibonacci
Helper function that computes the fibonacci number at position n
challenge-16/submissions/kuzminprog/solution-template.go:83
↓ 1 callersFunctionfilterProducts
(products []Product, filters map[string]string)
packages/fiber/challenge-3-validation-errors/submissions/odelbos/solution.go:326
↓ 1 callersMethodfilterWebUIDescription
filterWebUIDescription removes manual instructions that are not relevant for web-ui users
web-ui/internal/services/challenge.go:147
↓ 1 callersFunctionfindArticleByID
Helper functions findArticleByID finds an article by ID
packages/gin/challenge-2-middleware/submissions/q1ngy/solution.go:418
↓ 1 callersMethodfindEmployeeIndex
(id int)
challenge-3/submissions/JarhsonNing/solution-template.go:21
↓ 1 callersMethodfindFirstValidIndex
(windowStart time.Time)
challenge-29/submissions/PolinaSvet/solution-template.go:315
↓ 1 callersFunctionfindUserByEmail
findUserByEmail returns a pointer to the user with the given email, or nil if no such user exists.
packages/gin/challenge-4-authentication/submissions/PopovMarko/solution.go:255
↓ 1 callersFunctionfindUserByEmail
(email string)
packages/gin/challenge-4-authentication/submissions/22-7-co/solution.go:215
↓ 1 callersFunctionfindUserByID
Helper function to find user by ID
packages/gin/challenge-1-basic-routing/submissions/4mzy/solution.go:221
↓ 1 callersFunctionfindUserByID
Helper function to find user by ID
packages/gin/challenge-1-basic-routing/submissions/tomchen1991/solution.go:282
↓ 1 callersFunctionfindUserByID
Helper function to find user by ID
packages/gin/challenge-1-basic-routing/submissions/CV-Elevation/solution.go:236
↓ 1 callersFunctionfindUserByUsername
(username string)
packages/gin/challenge-4-authentication/submissions/imankhodadi/solution.go:216
↓ 1 callersFunctionfindUserByUsername
TODO: Implement user lookup functions
packages/gin/challenge-4-authentication/submissions/ItalloMangueBoy/solution.go:223
↓ 1 callersFunctionfindUserByUsername
TODO: Implement user lookup functions
packages/gin/challenge-4-authentication/submissions/sweet-boby/solution.go:207
↓ 1 callersFunctionfmtSlice
(s []int)
challenge-4/submissions/ADEMOLA200/solution-template.go:97
↓ 1 callersFunctionformatAsJSON
Helper functions formatAsJSON formats the response as JSON
packages/cobra/challenge-2-flags-args/submissions/odelbos/solution.go:253
↓ 1 callersFunctionformatAsJSON
Helper functions formatAsJSON formats the response as JSON
packages/cobra/challenge-2-flags-args/submissions/PopovMarko/solution.go:253
↓ 1 callersFunctionformatAsJSON
Helper functions formatAsJSON formats the response as JSON
packages/cobra/challenge-2-flags-args/submissions/PolinaSvet/solution.go:253
↓ 1 callersFunctionformatAsJSON
Helper functions formatAsJSON formats the response as JSON
packages/cobra/challenge-2-flags-args/submissions/ashwinipatankar/solution.go:253
↓ 1 callersFunctionformatAsJSON
Helper functions formatAsJSON formats the response as JSON
packages/cobra/challenge-2-flags-args/submissions/RezaSi/solution.go:253
↓ 1 callersFunctionformatAsTable
formatAsTable formats file info as a table
packages/cobra/challenge-2-flags-args/solution-template.go:269
↓ 1 callersFunctionformatAsTable
formatAsTable formats file info as a table
packages/cobra/challenge-2-flags-args/submissions/odelbos/solution.go:269
↓ 1 callersFunctionformatAsTable
formatAsTable formats file info as a table
packages/cobra/challenge-2-flags-args/submissions/PopovMarko/solution.go:269
↓ 1 callersFunctionformatAsTable
formatAsTable formats file info as a table
packages/cobra/challenge-2-flags-args/submissions/PolinaSvet/solution.go:269
↓ 1 callersFunctionformatAsTable
formatAsTable formats file info as a table
packages/cobra/challenge-2-flags-args/submissions/ashwinipatankar/solution.go:269
↓ 1 callersFunctionformatAsTable
formatAsTable formats file info as a table
packages/cobra/challenge-2-flags-args/submissions/RezaSi/solution.go:269
↓ 1 callersFunctionformatBindingErrors
(err error)
packages/gin/challenge-3-validation-errors/submissions/odelbos/solution.go:179
↓ 1 callersFunctionformatValidationError
(e validator.FieldError)
packages/fiber/challenge-3-validation-errors/submissions/odelbos/solution.go:116
↓ 1 callersMethodgenerateAuthorizationCode
(clientID, userID, redirectURI, scopes string, codeChallenge, challengeMethod string)
challenge-15/submissions/PolinaSvet/solution-template.go:459
↓ 1 callersMethodgenerateDescriptionFromReadme
(challengePath string)
web-ui/internal/services/package.go:231
↓ 1 callersFunctiongenerateJWT
TODO: Implement JWT functions generateJWT creates a JWT token for a user
packages/fiber/challenge-4-authentication/solution-template.go:120
↓ 1 callersFunctiongenerateRandomToken
TODO: Generate secure random token
packages/gin/challenge-4-authentication/submissions/BrianHuang813/solution.go:277
↓ 1 callersFunctiongenerateRandomToken
()
packages/gin/challenge-4-authentication/submissions/odelbos/solution.go:259
↓ 1 callersFunctiongenerateRandomToken
()
packages/gin/challenge-4-authentication/submissions/imankhodadi/solution.go:273
↓ 1 callersFunctiongenerateRandomToken
TODO: Generate secure random token
packages/gin/challenge-4-authentication/submissions/22-7-co/solution.go:262
↓ 1 callersFunctiongenerateRandomToken
TODO: Generate secure random token
packages/gin/challenge-4-authentication/submissions/law-lee/solution.go:259
↓ 1 callersFunctiongenerateRandomToken
TODO: Generate secure random token
packages/gin/challenge-4-authentication/submissions/sweet-boby/solution.go:264
↓ 1 callersFunctiongenerateSKU
()
packages/fiber/challenge-3-validation-errors/submissions/odelbos/solution.go:322
↓ 1 callersMethodgenerate_compact_badge
Generate a compact horizontal badge for GitHub README.
scripts/generate_contributor_badges.py:272
↓ 1 callersMethodgenerate_custom_svg_badge
Generate a beautiful custom SVG badge for the user.
scripts/generate_contributor_badges.py:168
↓ 1 callersFunctiongenerate_html_leaderboard
Generate a beautiful GitHub-compatible leaderboard table.
scripts/generate_main_scoreboard.py:216
↓ 1 callersMethodgenerate_instructions
Generate comprehensive instructions for using the badges.
scripts/generate_contributor_badges.py:499
↓ 1 callersFunctiongenerate_main_scoreboard
Generate the main scoreboard by aggregating all challenge scoreboards.
scripts/generate_main_scoreboard.py:133
↓ 1 callersFunctiongenerate_package_html_leaderboard
Generate a beautiful GitHub-compatible package leaderboard table.
scripts/generate_package_scoreboard.py:288
↓ 1 callersFunctiongenerate_package_scoreboard
Generate the package scoreboard by aggregating all package challenge scoreboards.
scripts/generate_package_scoreboard.py:133
↓ 1 callersFunctiongenerate_progress_bar
Generate a text-based progress bar.
scripts/generate_package_scoreboard.py:276
↓ 1 callersMethodgenerate_readme_badges
Generate a comprehensive badge collection for README files.
scripts/generate_contributor_badges.py:362
↓ 1 callersMethodgenerate_shields_json
Generate shields.io endpoint JSON for dynamic badges.
scripts/generate_contributor_badges.py:136
↓ 1 callersMethodgenerate_static_badges
Generate static badge markdown for different achievement levels.
scripts/generate_contributor_badges.py:153
↓ 1 callersFunctiongetAPIKeyFromEnvFor
(provider LLMProvider)
web-ui/internal/services/ai.go:102
↓ 1 callersMethodgetAllBooks
(w http.ResponseWriter, r *http.Request)
challenge-9/submissions/imankhodadi/solution-template.go:237
↓ 1 callersFunctiongetArticle
getArticle handles GET /articles/:id - get article by ID
packages/gin/challenge-2-middleware/submissions/PolinaSvet/solution.go:344
↓ 1 callersFunctiongetArticles
getArticles handles GET /articles - get all articles with pagination
packages/gin/challenge-2-middleware/submissions/PolinaSvet/solution.go:338
↓ 1 callersFunctiongetAuthRequestParams
getAuthRequestParams reads OAuth2 authorization parameters from the request's URL query and pulls the logged-in user id off the request context. A mis
challenge-15/submissions/PopovMarko/solution-template.go:296
↓ 1 callersMethodgetAuthenticatedUserID
(r *http.Request)
challenge-15/submissions/PolinaSvet/solution-template.go:445
↓ 1 callersMethodgetAuthorizationCode
(code string)
challenge-15/submissions/PolinaSvet/solution-template.go:596
↓ 1 callersMethodgetBookById
(w http.ResponseWriter, r *http.Request)
challenge-9/submissions/imankhodadi/solution-template.go:312
↓ 1 callersMethodgetCallCount
()
challenge-20/solution-template_test.go:35
↓ 1 callersFunctiongetClientIP
(r *http.Request)
challenge-29/submissions/imankhodadi/solution-template.go:708
↓ 1 callersFunctiongetGitUsernameFromRemote
getGitUsernameFromRemote extracts username from git remote origin URL
web-ui/internal/utils/git.go:50
↓ 1 callersFunctiongetLPSArray
(pattern string)
challenge-23/submissions/ashwinipatankar/solution-template.go:171
↓ 1 callersFunctiongetModelFromEnv
()
web-ui/internal/services/ai.go:121
↓ 1 callersMethodgetName
()
challenge-8/submissions/JackDalberg/solution-template.go:31
↓ 1 callersFunctiongetProviderFromEnv
Helper functions to get configuration from environment
web-ui/internal/services/ai.go:88
↓ 1 callersFunctiongetPureWords
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/KhaledMosaad/solution-template.go:21
↓ 1 callersMethodgetRefreshToken
(token string)
challenge-15/submissions/PolinaSvet/solution-template.go:610
↓ 1 callersFunctiongetServiceHandler
Helper functions
challenge-9/submissions/mick4711/solution-template.go:414
↓ 1 callersFunctiongetStats
getStats handles GET /admin/stats - get API usage statistics (admin only)
packages/gin/challenge-2-middleware/submissions/PolinaSvet/solution.go:424
↓ 1 callersMethodgetSubmissions
getSubmissions returns all submissions
web-ui/internal/handlers/api.go:272
↓ 1 callersMethodgetTextContext
(text, contextLength)
web-ui/static/js/main.js:219
↓ 1 callersFunctiongetUserByID
(c *gin.Context)
packages/gin/challenge-1-basic-routing/submissions/PolinaSvet/solution.go:338
↓ 1 callersMethodgetUserPackageChallengeSolution
getUserPackageChallengeSolution retrieves a user's existing solution for a package challenge
web-ui/internal/handlers/web.go:594
↓ 1 callersFunctiongetUserRole
(apiKey string)
packages/gin/challenge-2-middleware/submissions/imankhodadi/solution.go:137
↓ 1 callersFunctiongetValidToken
()
challenge-5/submissions/sutthiphong2005/solution-template.go:11
↓ 1 callersMethodgetVisitor
(ip string)
packages/gin/challenge-2-middleware/submissions/0xMoonrise/solution.go:227
↓ 1 callersFunctiongetWords
getWords returns the words in a text.
challenge-6/submissions/jersonzc/solution-template.go:10
↓ 1 callersFunctionget_challenge_title
Extract challenge title from README.md or directory name.
scripts/generate_main_scoreboard.py:100
↓ 1 callersFunctionget_package_challenge_title
Extract challenge title from README.md or directory name.
scripts/generate_package_scoreboard.py:100
↓ 1 callersMethodgrow
()
challenge-4/submissions/kuzminprog/solution-template.go:42
↓ 1 callersMethodhandleAccessRequest
handleAccessRequest implements the authorization_code grant: it exchanges a previously issued authorization code for an access + refresh token pair. T
challenge-15/submissions/PopovMarko/solution-template.go:483
↓ 1 callersMethodhandleAuthorizationCodeGrant
(w http.ResponseWriter, r *http.Request)
challenge-15/submissions/Kosench/solution-template.go:361
↓ 1 callersMethodhandleAuthorizationCodeGrant
(w http.ResponseWriter, code, redirectURI, clientID, clientSecret, codeVerifier string)
challenge-15/submissions/PolinaSvet/solution-template.go:514
↓ 1 callersMethodhandleAutorizationCode
(w http.ResponseWriter, r *http.Request)
challenge-15/submissions/odelbos/solution-template.go:280
↓ 1 callersMethodhandleClient
handleClient processes outgoing messages and disconnection for a client
challenge-8/submissions/odelbos/solution-template.go:145
↓ 1 callersFunctionhandleClientConnection
handleClientConnection handles individual client connections
challenge-8/submissions/PolinaSvet/solution-template.go:226
↓ 1 callersMethodhandleCreate
(w http.ResponseWriter, r *http.Request)
challenge-9/submissions/odelbos/solution-template.go:251
↓ 1 callersMethodhandleCreateBook
handleCreateBook creates a new book
challenge-9/submissions/Kosench/solution-template.go:428
↓ 1 callersMethodhandleDelete
(w http.ResponseWriter, r *http.Request)
challenge-9/submissions/odelbos/solution-template.go:282
↓ 1 callersMethodhandleDeleteBook
handleDeleteBook deletes a book
challenge-9/submissions/Kosench/solution-template.go:472
↓ 1 callersMethodhandleErrors
handleErrors consolidates errors from concurrent operations
challenge-12/submissions/PolinaSvet/solution-template.go:485
↓ 1 callersMethodhandleGetAll
(w http.ResponseWriter, r *http.Request)
challenge-9/submissions/odelbos/solution-template.go:232
↓ 1 callersMethodhandleGetAllBooks
(w http.ResponseWriter, r *http.Request)
challenge-9/submissions/Kosench/solution-template.go:405
← previousnext →4,601–4,700 of 12,886, ranked by callers