MCPcopy Create free account

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

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

↓ 1 callersMethodhandleGetBookByID
(w http.ResponseWriter, r *http.Request, id string)
challenge-9/submissions/Kosench/solution-template.go:416
↓ 1 callersMethodhandleGetByID
(w http.ResponseWriter, r *http.Request)
challenge-9/submissions/odelbos/solution-template.go:241
↓ 1 callersMethodhandleMouseUp
(e)
web-ui/static/js/main.js:151
↓ 1 callersMethodhandleRefreshRequest
handleRefreshRequest implements the refresh_token grant: it rotates the supplied refresh token for a fresh access + refresh token pair. The old refres
challenge-15/submissions/PopovMarko/solution-template.go:537
↓ 1 callersMethodhandleRefreshToken
(w http.ResponseWriter, r *http.Request)
challenge-15/submissions/odelbos/solution-template.go:347
↓ 1 callersMethodhandleRefreshTokenGrant
handleRefreshTokenGrant handles access token refresh This allows getting a new access token without re-authorizing the user
challenge-15/submissions/Kosench/solution-template.go:505
↓ 1 callersMethodhandleRefreshTokenGrant
(w http.ResponseWriter, refreshToken, clientID, clientSecret, redirectURI string)
challenge-15/submissions/PolinaSvet/solution-template.go:560
↓ 1 callersMethodhandleSearch
(w http.ResponseWriter, r *http.Request)
challenge-9/submissions/odelbos/solution-template.go:291
↓ 1 callersMethodhandleSearchByAuthor
handleSearchByAuthor searches books by author
challenge-9/submissions/Kosench/solution-template.go:486
↓ 1 callersMethodhandleSearchByTitle
handleSearchByTitle searches books by title
challenge-9/submissions/Kosench/solution-template.go:500
↓ 1 callersMethodhandleUpdate
(w http.ResponseWriter, r *http.Request)
challenge-9/submissions/odelbos/solution-template.go:264
↓ 1 callersMethodhandleUpdateBook
handleUpdateBook updates an existing book
challenge-9/submissions/Kosench/solution-template.go:450
↓ 1 callersMethodhasOnStateChangeCallback
()
challenge-20/submissions/muhammedkucukaslan/helper.go:56
↓ 1 callersMethodhasQuota
(n int)
challenge-29/submissions/mvsouza/solution-template.go:176
↓ 1 callersMethodhasQuota
(n int)
challenge-29/submissions/mvsouza/solution-template.go:264
↓ 1 callersMethodhasUserSubmission
hasUserSubmission checks if a user has a submission for a challenge
web-ui/internal/services/user.go:63
↓ 1 callersFunctionhashPassword
TODO: Implement password hashing
packages/gin/challenge-4-authentication/submissions/BrianHuang813/solution.go:132
↓ 1 callersFunctionhashPassword
hashPassword hashes a password using bcrypt
packages/fiber/challenge-4-authentication/solution-template.go:106
↓ 1 callersFunctionhashPassword
(password string)
packages/fiber/challenge-4-authentication/submissions/odelbos/solution.go:123
↓ 1 callersFunctionhelloHandler
helloHandler returns "Hello!" on GET /hello
challenge-5/submissions/110Aakif/solution-template.go:33
↓ 1 callersMethodhighlightSelection
(selection)
web-ui/static/js/main.js:160
↓ 1 callersMethodinit
()
web-ui/static/js/main.js:40
↓ 1 callersMethodinitGoModule
initGoModule initializes a Go module in the temporary directory
web-ui/internal/services/execution.go:113
↓ 1 callersFunctioninitSyntaxHighlighting
()
web-ui/static/js/main.js:364
↓ 1 callersMethodinstallDependencies
installDependencies installs dependencies for the given challenge
web-ui/internal/services/execution.go:121
↓ 1 callersFunctioninstallPlugin
installPlugin
packages/cobra/challenge-4-advanced-features/submissions/PolinaSvet/solution.go:966
↓ 1 callersMethodinsureRecordHalfOpen
()
challenge-20/submissions/mvsouza/solution-template.go:241
↓ 1 callersFunctioninventoryStatistics
Statistics ===============================================================
packages/cobra/challenge-3-subcommands-persistence/submissions/PolinaSvet/solution.go:771
↓ 1 callersFunctionisAccountLocked
TODO: Implement account lockout check
packages/gin/challenge-4-authentication/solution-template.go:158
↓ 1 callersFunctionisAccountLocked
TODO: Implement account lockout check
packages/gin/challenge-4-authentication/submissions/BrianHuang813/solution.go:248
↓ 1 callersFunctionisAccountLocked
(user *User)
packages/gin/challenge-4-authentication/submissions/odelbos/solution.go:235
↓ 1 callersFunctionisAccountLocked
isAccountLocked reports whether the user's account is currently locked, based on whether LockedUntil is set to a time in the future.
packages/gin/challenge-4-authentication/submissions/PopovMarko/solution.go:291
↓ 1 callersFunctionisAccountLocked
(user *User)
packages/gin/challenge-4-authentication/submissions/imankhodadi/solution.go:249
↓ 1 callersFunctionisAccountLocked
TODO: Implement account lockout check
packages/gin/challenge-4-authentication/submissions/yogtanko/solution.go:295
↓ 1 callersFunctionisAccountLocked
TODO: Implement account lockout check
packages/gin/challenge-4-authentication/submissions/Mxn-ptr/solution.go:219
↓ 1 callersFunctionisAccountLocked
TODO: Implement account lockout check
packages/gin/challenge-4-authentication/submissions/PolinaSvet/solution.go:273
↓ 1 callersFunctionisAccountLocked
TODO: Implement account lockout check
packages/gin/challenge-4-authentication/submissions/22-7-co/solution.go:236
↓ 1 callersFunctionisAccountLocked
Implement account lockout check
packages/gin/challenge-4-authentication/submissions/q1ngy/solution.go:227
↓ 1 callersFunctionisAccountLocked
TODO: Implement account lockout check
packages/gin/challenge-4-authentication/submissions/ItalloMangueBoy/solution.go:263
↓ 1 callersFunctionisAccountLocked
TODO: Implement account lockout check
packages/gin/challenge-4-authentication/submissions/law-lee/solution.go:233
↓ 1 callersFunctionisAccountLocked
isAccountLocked return true if the user is locked based on LockedUntil field
packages/gin/challenge-4-authentication/submissions/father-frog/solution.go:304
↓ 1 callersFunctionisAccountLocked
TODO: Implement account lockout check
packages/gin/challenge-4-authentication/submissions/sweet-boby/solution.go:243
↓ 1 callersFunctionisDigit
(c byte)
challenge-6/submissions/maket12/solution-template.go:45
↓ 1 callersMethodisExternalPackage
isExternalPackage determines if an import path is an external package
web-ui/internal/services/execution.go:242
↓ 1 callersFunctionisLatin
(c byte)
challenge-6/submissions/maket12/solution-template.go:49
↓ 1 callersFunctionisLetter
(c rune)
challenge-6/submissions/yz4230/solution-template.go:10
↓ 1 callersFunctionisMatch
(text, substr string, begin int)
challenge-16/submissions/y1hao/solution-template.go:289
↓ 1 callersFunctionisMatch
(text, substr string, begin int)
challenge-16/submissions/AkifhanIlgaz/solution-template.go:289
↓ 1 callersFunctionisNilCache
isNilCache reports whether cache is nil, handling the case where a typed nil (e.g. (*LRUCache)(nil) stored as a Cache interface) would pass a plain ==
challenge-28/submissions/PopovMarko/solution-template.go:694
↓ 1 callersMethodisNumeric
isNumeric checks if a string contains only digits
web-ui/internal/services/scoreboard.go:116
↓ 1 callersMethodisReady
isReady checks if the circuit breaker is ready to transition from open to half-open
challenge-20/submissions/odelbos/solution-template.go:259
↓ 1 callersMethodisReady
isReady checks if the circuit breaker is ready to transition from open to half-open
challenge-20/submissions/hudazaan/solution-template.go:223
↓ 1 callersMethodisReady
isReady checks if the circuit breaker is ready to transition from open to half-open This method does not lock mutex since it expect the parent functi
challenge-20/submissions/hvijaycse/solution-template.go:283
↓ 1 callersMethodisReady
isReady checks if the circuit breaker is ready to transition from open to half-open
challenge-20/submissions/manik23/solution-template.go:291
↓ 1 callersMethodisReady
isReady checks if the circuit breaker is ready to transition from Open to Half-Open by checking if the Timeout duration has passed since the last stat
challenge-20/submissions/anhvu2001ct/solution-template.go:275
↓ 1 callersMethodisReady
isReady checks if the circuit breaker is ready to transition from open to half-open
challenge-20/submissions/y1hao/solution-template.go:225
↓ 1 callersMethodisReady
isReady checks if the circuit breaker is ready to transition from open to half-open
challenge-20/submissions/Onkar-25/solution-template.go:255
↓ 1 callersMethodisReady
isReady checks if the circuit breaker is ready to transition from open to half-open
challenge-20/submissions/JackDalberg/solution-template.go:253
↓ 1 callersMethodisReadyForHalfOpen
isReadyForHalfOpen checks if the circuit breaker is ready to transition from open to half-open
challenge-20/submissions/muhammedkucukaslan/solution-template.go:216
↓ 1 callersFunctionisRefreshTokenExpired
(token string)
packages/gin/challenge-4-authentication/submissions/imankhodadi/solution.go:480
↓ 1 callersMethodisSameState
(newState State)
challenge-20/submissions/muhammedkucukaslan/helper.go:48
↓ 1 callersMethodisScopeAllowed
(client *OAuth2ClientInfo, scope string)
challenge-15/submissions/Kosench/solution-template.go:302
↓ 1 callersFunctionisScopeSupported
(scope string)
challenge-15/submissions/PolinaSvet/solution-template.go:309
↓ 1 callersFunctionisSpace
(c rune)
challenge-6/submissions/yz4230/solution-template.go:6
↓ 1 callersFunctionisStateClosed
(state State)
challenge-20/submissions/muhammedkucukaslan/helper.go:64
↓ 1 callersMethodisStateHalfOpen
()
challenge-20/submissions/muhammedkucukaslan/helper.go:52
↓ 1 callersFunctionisStateOpen
(state State)
challenge-20/submissions/muhammedkucukaslan/helper.go:68
↓ 1 callersFunctionisStrongPassword
TODO: Implement password strength validation
packages/gin/challenge-4-authentication/submissions/BrianHuang813/solution.go:101
↓ 1 callersFunctionisValidCategory
TODO: Implement category validator
packages/gin/challenge-3-validation-errors/solution-template.go:99
↓ 1 callersFunctionisValidCategory
(categoryName string)
packages/gin/challenge-3-validation-errors/submissions/odelbos/solution.go:101
↓ 1 callersFunctionisValidCategory
isValidCategory reports whether categoryName matches the Name of a known category in the categories store.
packages/gin/challenge-3-validation-errors/submissions/PopovMarko/solution.go:108
↓ 1 callersFunctionisValidCategory
TODO: Implement category validator
packages/gin/challenge-3-validation-errors/submissions/yogtanko/solution.go:114
↓ 1 callersFunctionisValidCategory
TODO: Implement category validator
packages/gin/challenge-3-validation-errors/submissions/Mxn-ptr/solution.go:109
↓ 1 callersFunctionisValidCategory
TODO: Implement category validator
packages/gin/challenge-3-validation-errors/submissions/PolinaSvet/solution.go:107
↓ 1 callersFunctionisValidCategory
TODO: Implement category validator
packages/gin/challenge-3-validation-errors/submissions/22-7-co/solution.go:115
↓ 1 callersFunctionisValidCategory
Implement category validator
packages/gin/challenge-3-validation-errors/submissions/q1ngy/solution.go:110
↓ 1 callersFunctionisValidCategory
TODO: Implement category validator
packages/gin/challenge-3-validation-errors/submissions/ItalloMangueBoy/solution.go:108
↓ 1 callersFunctionisValidCategory
isValidCategory returns true if the categoryName is in the categories slice
packages/gin/challenge-3-validation-errors/submissions/father-frog/solution.go:120
↓ 1 callersFunctionisValidCategory
TODO: Implement category validator
packages/gin/challenge-3-validation-errors/submissions/sweet-boby/solution.go:108
↓ 1 callersFunctionisValidChar
(c byte)
challenge-6/submissions/jasonnfeng/solution-template.go:43
↓ 1 callersFunctionisValidCurrency
TODO: Implement currency validator
packages/gin/challenge-3-validation-errors/solution-template.go:93
↓ 1 callersFunctionisValidCurrency
(currency string)
packages/gin/challenge-3-validation-errors/submissions/odelbos/solution.go:97
↓ 1 callersFunctionisValidCurrency
isValidCurrency reports whether currency is one of the supported ISO currency codes listed in validCurrencies.
packages/gin/challenge-3-validation-errors/submissions/PopovMarko/solution.go:102
↓ 1 callersFunctionisValidCurrency
(currency string)
packages/gin/challenge-3-validation-errors/submissions/imankhodadi/solution.go:110
↓ 1 callersFunctionisValidCurrency
TODO: Implement currency validator
packages/gin/challenge-3-validation-errors/submissions/yogtanko/solution.go:101
↓ 1 callersFunctionisValidCurrency
TODO: Implement currency validator
packages/gin/challenge-3-validation-errors/submissions/Mxn-ptr/solution.go:99
↓ 1 callersFunctionisValidCurrency
TODO: Implement currency validator
packages/gin/challenge-3-validation-errors/submissions/PolinaSvet/solution.go:97
↓ 1 callersFunctionisValidCurrency
TODO: Implement currency validator
packages/gin/challenge-3-validation-errors/submissions/22-7-co/solution.go:101
↓ 1 callersFunctionisValidCurrency
Implement currency validator
packages/gin/challenge-3-validation-errors/submissions/q1ngy/solution.go:104
↓ 1 callersFunctionisValidCurrency
TODO: Implement currency validator
packages/gin/challenge-3-validation-errors/submissions/ItalloMangueBoy/solution.go:102
↓ 1 callersFunctionisValidCurrency
isValidCurrency returns true if the currency is in the validCurrencies slice
packages/gin/challenge-3-validation-errors/submissions/father-frog/solution.go:109
↓ 1 callersFunctionisValidCurrency
TODO: Implement currency validator
packages/gin/challenge-3-validation-errors/submissions/sweet-boby/solution.go:97
↓ 1 callersFunctionisValidEmail
isValidEmail 使用正则表达式进行基本的邮件格式验证
packages/gin/challenge-1-basic-routing/submissions/caojun1997/solution.go:289
↓ 1 callersMethodisValidRedirectURI
(client *OAuth2ClientInfo, redirectURI string)
challenge-15/submissions/Kosench/solution-template.go:293
↓ 1 callersFunctionisValidSKU
TODO: Implement SKU format validator SKU format: ABC-123-XYZ (3 letters, 3 numbers, 3 letters)
packages/gin/challenge-3-validation-errors/solution-template.go:86
↓ 1 callersFunctionisValidSlug
TODO: Implement slug format validator
packages/gin/challenge-3-validation-errors/solution-template.go:105
↓ 1 callersFunctionisValidSlug
isValidSlug reports whether slug is a valid URL slug: lowercase alphanumeric segments separated by single hyphens, with no leading or trailing hyphen.
packages/gin/challenge-3-validation-errors/submissions/PopovMarko/solution.go:120
↓ 1 callersFunctionisValidSlug
(slug string)
packages/gin/challenge-3-validation-errors/submissions/imankhodadi/solution.go:114
↓ 1 callersFunctionisValidSlug
Implement slug format validator
packages/gin/challenge-3-validation-errors/submissions/q1ngy/solution.go:121
↓ 1 callersFunctionisValidSlug
TODO: Implement slug format validator
packages/gin/challenge-3-validation-errors/submissions/ItalloMangueBoy/solution.go:120
← previousnext →4,701–4,800 of 12,886, ranked by callers