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
↓ 1 callers
Method
handleGetBookByID
(w http.ResponseWriter, r *http.Request, id string)
challenge-9/submissions/Kosench/solution-template.go:416
↓ 1 callers
Method
handleGetByID
(w http.ResponseWriter, r *http.Request)
challenge-9/submissions/odelbos/solution-template.go:241
↓ 1 callers
Method
handleMouseUp
(e)
web-ui/static/js/main.js:151
↓ 1 callers
Method
handleRefreshRequest
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 callers
Method
handleRefreshToken
(w http.ResponseWriter, r *http.Request)
challenge-15/submissions/odelbos/solution-template.go:347
↓ 1 callers
Method
handleRefreshTokenGrant
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 callers
Method
handleRefreshTokenGrant
(w http.ResponseWriter, refreshToken, clientID, clientSecret, redirectURI string)
challenge-15/submissions/PolinaSvet/solution-template.go:560
↓ 1 callers
Method
handleSearch
(w http.ResponseWriter, r *http.Request)
challenge-9/submissions/odelbos/solution-template.go:291
↓ 1 callers
Method
handleSearchByAuthor
handleSearchByAuthor searches books by author
challenge-9/submissions/Kosench/solution-template.go:486
↓ 1 callers
Method
handleSearchByTitle
handleSearchByTitle searches books by title
challenge-9/submissions/Kosench/solution-template.go:500
↓ 1 callers
Method
handleUpdate
(w http.ResponseWriter, r *http.Request)
challenge-9/submissions/odelbos/solution-template.go:264
↓ 1 callers
Method
handleUpdateBook
handleUpdateBook updates an existing book
challenge-9/submissions/Kosench/solution-template.go:450
↓ 1 callers
Method
hasOnStateChangeCallback
()
challenge-20/submissions/muhammedkucukaslan/helper.go:56
↓ 1 callers
Method
hasQuota
(n int)
challenge-29/submissions/mvsouza/solution-template.go:176
↓ 1 callers
Method
hasQuota
(n int)
challenge-29/submissions/mvsouza/solution-template.go:264
↓ 1 callers
Method
hasUserSubmission
hasUserSubmission checks if a user has a submission for a challenge
web-ui/internal/services/user.go:63
↓ 1 callers
Function
hashPassword
TODO: Implement password hashing
packages/gin/challenge-4-authentication/submissions/BrianHuang813/solution.go:132
↓ 1 callers
Function
hashPassword
hashPassword hashes a password using bcrypt
packages/fiber/challenge-4-authentication/solution-template.go:106
↓ 1 callers
Function
hashPassword
(password string)
packages/fiber/challenge-4-authentication/submissions/odelbos/solution.go:123
↓ 1 callers
Function
helloHandler
helloHandler returns "Hello!" on GET /hello
challenge-5/submissions/110Aakif/solution-template.go:33
↓ 1 callers
Method
highlightSelection
(selection)
web-ui/static/js/main.js:160
↓ 1 callers
Method
init
()
web-ui/static/js/main.js:40
↓ 1 callers
Method
initGoModule
initGoModule initializes a Go module in the temporary directory
web-ui/internal/services/execution.go:113
↓ 1 callers
Function
initSyntaxHighlighting
()
web-ui/static/js/main.js:364
↓ 1 callers
Method
installDependencies
installDependencies installs dependencies for the given challenge
web-ui/internal/services/execution.go:121
↓ 1 callers
Function
installPlugin
installPlugin
packages/cobra/challenge-4-advanced-features/submissions/PolinaSvet/solution.go:966
↓ 1 callers
Method
insureRecordHalfOpen
()
challenge-20/submissions/mvsouza/solution-template.go:241
↓ 1 callers
Function
inventoryStatistics
Statistics ===============================================================
packages/cobra/challenge-3-subcommands-persistence/submissions/PolinaSvet/solution.go:771
↓ 1 callers
Function
isAccountLocked
TODO: Implement account lockout check
packages/gin/challenge-4-authentication/solution-template.go:158
↓ 1 callers
Function
isAccountLocked
TODO: Implement account lockout check
packages/gin/challenge-4-authentication/submissions/BrianHuang813/solution.go:248
↓ 1 callers
Function
isAccountLocked
(user *User)
packages/gin/challenge-4-authentication/submissions/odelbos/solution.go:235
↓ 1 callers
Function
isAccountLocked
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 callers
Function
isAccountLocked
(user *User)
packages/gin/challenge-4-authentication/submissions/imankhodadi/solution.go:249
↓ 1 callers
Function
isAccountLocked
TODO: Implement account lockout check
packages/gin/challenge-4-authentication/submissions/yogtanko/solution.go:295
↓ 1 callers
Function
isAccountLocked
TODO: Implement account lockout check
packages/gin/challenge-4-authentication/submissions/Mxn-ptr/solution.go:219
↓ 1 callers
Function
isAccountLocked
TODO: Implement account lockout check
packages/gin/challenge-4-authentication/submissions/PolinaSvet/solution.go:273
↓ 1 callers
Function
isAccountLocked
TODO: Implement account lockout check
packages/gin/challenge-4-authentication/submissions/22-7-co/solution.go:236
↓ 1 callers
Function
isAccountLocked
Implement account lockout check
packages/gin/challenge-4-authentication/submissions/q1ngy/solution.go:227
↓ 1 callers
Function
isAccountLocked
TODO: Implement account lockout check
packages/gin/challenge-4-authentication/submissions/ItalloMangueBoy/solution.go:263
↓ 1 callers
Function
isAccountLocked
TODO: Implement account lockout check
packages/gin/challenge-4-authentication/submissions/law-lee/solution.go:233
↓ 1 callers
Function
isAccountLocked
isAccountLocked return true if the user is locked based on LockedUntil field
packages/gin/challenge-4-authentication/submissions/father-frog/solution.go:304
↓ 1 callers
Function
isAccountLocked
TODO: Implement account lockout check
packages/gin/challenge-4-authentication/submissions/sweet-boby/solution.go:243
↓ 1 callers
Function
isDigit
(c byte)
challenge-6/submissions/maket12/solution-template.go:45
↓ 1 callers
Method
isExternalPackage
isExternalPackage determines if an import path is an external package
web-ui/internal/services/execution.go:242
↓ 1 callers
Function
isLatin
(c byte)
challenge-6/submissions/maket12/solution-template.go:49
↓ 1 callers
Function
isLetter
(c rune)
challenge-6/submissions/yz4230/solution-template.go:10
↓ 1 callers
Function
isMatch
(text, substr string, begin int)
challenge-16/submissions/y1hao/solution-template.go:289
↓ 1 callers
Function
isMatch
(text, substr string, begin int)
challenge-16/submissions/AkifhanIlgaz/solution-template.go:289
↓ 1 callers
Function
isNilCache
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 callers
Method
isNumeric
isNumeric checks if a string contains only digits
web-ui/internal/services/scoreboard.go:116
↓ 1 callers
Method
isReady
isReady checks if the circuit breaker is ready to transition from open to half-open
challenge-20/submissions/odelbos/solution-template.go:259
↓ 1 callers
Method
isReady
isReady checks if the circuit breaker is ready to transition from open to half-open
challenge-20/submissions/hudazaan/solution-template.go:223
↓ 1 callers
Method
isReady
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 callers
Method
isReady
isReady checks if the circuit breaker is ready to transition from open to half-open
challenge-20/submissions/manik23/solution-template.go:291
↓ 1 callers
Method
isReady
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 callers
Method
isReady
isReady checks if the circuit breaker is ready to transition from open to half-open
challenge-20/submissions/y1hao/solution-template.go:225
↓ 1 callers
Method
isReady
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 callers
Method
isReady
isReady checks if the circuit breaker is ready to transition from open to half-open
challenge-20/submissions/JackDalberg/solution-template.go:253
↓ 1 callers
Method
isReadyForHalfOpen
isReadyForHalfOpen checks if the circuit breaker is ready to transition from open to half-open
challenge-20/submissions/muhammedkucukaslan/solution-template.go:216
↓ 1 callers
Function
isRefreshTokenExpired
(token string)
packages/gin/challenge-4-authentication/submissions/imankhodadi/solution.go:480
↓ 1 callers
Method
isSameState
(newState State)
challenge-20/submissions/muhammedkucukaslan/helper.go:48
↓ 1 callers
Method
isScopeAllowed
(client *OAuth2ClientInfo, scope string)
challenge-15/submissions/Kosench/solution-template.go:302
↓ 1 callers
Function
isScopeSupported
(scope string)
challenge-15/submissions/PolinaSvet/solution-template.go:309
↓ 1 callers
Function
isSpace
(c rune)
challenge-6/submissions/yz4230/solution-template.go:6
↓ 1 callers
Function
isStateClosed
(state State)
challenge-20/submissions/muhammedkucukaslan/helper.go:64
↓ 1 callers
Method
isStateHalfOpen
()
challenge-20/submissions/muhammedkucukaslan/helper.go:52
↓ 1 callers
Function
isStateOpen
(state State)
challenge-20/submissions/muhammedkucukaslan/helper.go:68
↓ 1 callers
Function
isStrongPassword
TODO: Implement password strength validation
packages/gin/challenge-4-authentication/submissions/BrianHuang813/solution.go:101
↓ 1 callers
Function
isValidCategory
TODO: Implement category validator
packages/gin/challenge-3-validation-errors/solution-template.go:99
↓ 1 callers
Function
isValidCategory
(categoryName string)
packages/gin/challenge-3-validation-errors/submissions/odelbos/solution.go:101
↓ 1 callers
Function
isValidCategory
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 callers
Function
isValidCategory
TODO: Implement category validator
packages/gin/challenge-3-validation-errors/submissions/yogtanko/solution.go:114
↓ 1 callers
Function
isValidCategory
TODO: Implement category validator
packages/gin/challenge-3-validation-errors/submissions/Mxn-ptr/solution.go:109
↓ 1 callers
Function
isValidCategory
TODO: Implement category validator
packages/gin/challenge-3-validation-errors/submissions/PolinaSvet/solution.go:107
↓ 1 callers
Function
isValidCategory
TODO: Implement category validator
packages/gin/challenge-3-validation-errors/submissions/22-7-co/solution.go:115
↓ 1 callers
Function
isValidCategory
Implement category validator
packages/gin/challenge-3-validation-errors/submissions/q1ngy/solution.go:110
↓ 1 callers
Function
isValidCategory
TODO: Implement category validator
packages/gin/challenge-3-validation-errors/submissions/ItalloMangueBoy/solution.go:108
↓ 1 callers
Function
isValidCategory
isValidCategory returns true if the categoryName is in the categories slice
packages/gin/challenge-3-validation-errors/submissions/father-frog/solution.go:120
↓ 1 callers
Function
isValidCategory
TODO: Implement category validator
packages/gin/challenge-3-validation-errors/submissions/sweet-boby/solution.go:108
↓ 1 callers
Function
isValidChar
(c byte)
challenge-6/submissions/jasonnfeng/solution-template.go:43
↓ 1 callers
Function
isValidCurrency
TODO: Implement currency validator
packages/gin/challenge-3-validation-errors/solution-template.go:93
↓ 1 callers
Function
isValidCurrency
(currency string)
packages/gin/challenge-3-validation-errors/submissions/odelbos/solution.go:97
↓ 1 callers
Function
isValidCurrency
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 callers
Function
isValidCurrency
(currency string)
packages/gin/challenge-3-validation-errors/submissions/imankhodadi/solution.go:110
↓ 1 callers
Function
isValidCurrency
TODO: Implement currency validator
packages/gin/challenge-3-validation-errors/submissions/yogtanko/solution.go:101
↓ 1 callers
Function
isValidCurrency
TODO: Implement currency validator
packages/gin/challenge-3-validation-errors/submissions/Mxn-ptr/solution.go:99
↓ 1 callers
Function
isValidCurrency
TODO: Implement currency validator
packages/gin/challenge-3-validation-errors/submissions/PolinaSvet/solution.go:97
↓ 1 callers
Function
isValidCurrency
TODO: Implement currency validator
packages/gin/challenge-3-validation-errors/submissions/22-7-co/solution.go:101
↓ 1 callers
Function
isValidCurrency
Implement currency validator
packages/gin/challenge-3-validation-errors/submissions/q1ngy/solution.go:104
↓ 1 callers
Function
isValidCurrency
TODO: Implement currency validator
packages/gin/challenge-3-validation-errors/submissions/ItalloMangueBoy/solution.go:102
↓ 1 callers
Function
isValidCurrency
isValidCurrency returns true if the currency is in the validCurrencies slice
packages/gin/challenge-3-validation-errors/submissions/father-frog/solution.go:109
↓ 1 callers
Function
isValidCurrency
TODO: Implement currency validator
packages/gin/challenge-3-validation-errors/submissions/sweet-boby/solution.go:97
↓ 1 callers
Function
isValidEmail
isValidEmail 使用正则表达式进行基本的邮件格式验证
packages/gin/challenge-1-basic-routing/submissions/caojun1997/solution.go:289
↓ 1 callers
Method
isValidRedirectURI
(client *OAuth2ClientInfo, redirectURI string)
challenge-15/submissions/Kosench/solution-template.go:293
↓ 1 callers
Function
isValidSKU
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 callers
Function
isValidSlug
TODO: Implement slug format validator
packages/gin/challenge-3-validation-errors/solution-template.go:105
↓ 1 callers
Function
isValidSlug
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 callers
Function
isValidSlug
(slug string)
packages/gin/challenge-3-validation-errors/submissions/imankhodadi/solution.go:114
↓ 1 callers
Function
isValidSlug
Implement slug format validator
packages/gin/challenge-3-validation-errors/submissions/q1ngy/solution.go:121
↓ 1 callers
Function
isValidSlug
TODO: Implement slug format validator
packages/gin/challenge-3-validation-errors/submissions/ItalloMangueBoy/solution.go:120
← previous
next →
4,701–4,800 of 12,886, ranked by callers