MCPcopy Create free account

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

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

↓ 2 callersFunctionvalidateUser
Helper function to validate user data
packages/gin/challenge-1-basic-routing/submissions/nbploc08/solution.go:223
↓ 2 callersFunctionvalidateUser
Helper function to validate user data
packages/gin/challenge-1-basic-routing/submissions/RuslanG003/solution.go:275
↓ 2 callersFunctionvalidateUser
Helper function to validate user data
packages/gin/challenge-1-basic-routing/submissions/awsl1110/solution.go:160
↓ 2 callersFunctionvalidateUser
(user User)
packages/gin/challenge-1-basic-routing/submissions/Johrespi/solution.go:212
↓ 2 callersFunctionvalidateUser
Helper function to validate user data
packages/gin/challenge-1-basic-routing/submissions/shansing/solution.go:253
↓ 2 callersFunctionvalidateUser
Helper function to validate user data
packages/gin/challenge-1-basic-routing/submissions/RezaSi/solution.go:251
↓ 2 callersFunctionvalidateUser
Helper function to validate user data
packages/gin/challenge-1-basic-routing/submissions/ItalloMangueBoy/solution.go:286
↓ 2 callersFunctionvalidateUser
Helper function to validate user data
packages/gin/challenge-1-basic-routing/submissions/aroquega-codes/solution.go:258
↓ 2 callersFunctionvalidateUser
Helper function to validate user data
packages/gin/challenge-1-basic-routing/submissions/yllmis/solution.go:282
↓ 2 callersFunctionvalidateUser
Helper function to validate user data
packages/gin/challenge-1-basic-routing/submissions/CV-Elevation/solution.go:248
↓ 2 callersFunctionvalidateUser
Helper function to validate user data
packages/gin/challenge-1-basic-routing/submissions/father-frog/solution.go:264
↓ 2 callersFunctionvalidateUser
Helper function to validate user data
packages/gin/challenge-1-basic-routing/submissions/zylbeyondlimits/solution.go:212
↓ 2 callersMethodvalidateUser
(user *User)
packages/gin/challenge-1-basic-routing/submissions/PolinaSvet/solution.go:86
↓ 2 callersFunctionverifyPassword
(password, hash string)
packages/gin/challenge-4-authentication/submissions/odelbos/solution.go:127
↓ 2 callersFunctionverifyPassword
verifyPassword reports whether the plaintext password matches the bcrypt hash.
packages/gin/challenge-4-authentication/submissions/PopovMarko/solution.go:148
↓ 2 callersFunctionverifyPassword
(password, hash string)
packages/gin/challenge-4-authentication/submissions/imankhodadi/solution.go:134
↓ 2 callersFunctionverifyPassword
TODO: Implement password verification
packages/gin/challenge-4-authentication/submissions/yogtanko/solution.go:179
↓ 2 callersFunctionverifyPassword
TODO: Implement password verification
packages/gin/challenge-4-authentication/submissions/Mxn-ptr/solution.go:122
↓ 2 callersFunctionverifyPassword
TODO: Implement password verification
packages/gin/challenge-4-authentication/submissions/PolinaSvet/solution.go:139
↓ 2 callersFunctionverifyPassword
Implement password verification
packages/gin/challenge-4-authentication/submissions/q1ngy/solution.go:129
↓ 2 callersFunctionverifyPassword
TODO: Implement password verification
packages/gin/challenge-4-authentication/submissions/ItalloMangueBoy/solution.go:139
↓ 2 callersFunctionverifyPassword
TODO: Implement password verification
packages/gin/challenge-4-authentication/submissions/law-lee/solution.go:136
↓ 2 callersFunctionverifyPassword
verifyPassword compares a password with a bcrypt hash
packages/gin/challenge-4-authentication/submissions/father-frog/solution.go:184
↓ 2 callersFunctionverifyPassword
TODO: Implement password verification
packages/gin/challenge-4-authentication/submissions/sweet-boby/solution.go:141
↓ 2 callersFunctionverifyPassword
verifyPassword compares a password with its hash
packages/fiber/challenge-4-authentication/solution-template.go:112
↓ 2 callersFunctionwriteTokenResponse
(w http.ResponseWriter, resp *TokenResponse)
challenge-15/submissions/imankhodadi/solution-template.go:228
↓ 1 callersMethodAddSubmission
AddSubmission adds a submission to the scoreboard
web-ui/internal/services/scoreboard.go:137
↓ 1 callersMethodAllow
()
challenge-11/submissions/nzamulov/solution-template.go:55
↓ 1 callersMethodAllow
()
challenge-29/submissions/imankhodadi/solution-template.go:96
↓ 1 callersMethodAllow
()
challenge-29/submissions/nzamulov/solution-template.go:57
↓ 1 callersMethodAllowN
(n int)
challenge-29/submissions/odelbos/solution-template.go:70
↓ 1 callersMethodAllowN
(n int)
challenge-29/submissions/imankhodadi/solution-template.go:100
↓ 1 callersMethodAllowN
(n int)
challenge-29/submissions/imankhodadi/solution-template.go:294
↓ 1 callersMethodAllowN
(n int)
challenge-29/submissions/imankhodadi/solution-template.go:475
↓ 1 callersMethodAllowN
(n int)
challenge-29/submissions/mvsouza/solution-template.go:185
↓ 1 callersMethodAllowN
(n int)
challenge-29/submissions/mvsouza/solution-template.go:273
↓ 1 callersFunctionApplyMiddleware
ApplyMiddleware executes all registered middleware
packages/cobra/challenge-4-advanced-features/solution-template.go:308
↓ 1 callersMethodArea
Area calculates the area of the rectangle
challenge-10/solution-template.go:29
↓ 1 callersMethodArea
Area calculates the area of the circle
challenge-10/solution-template.go:58
↓ 1 callersMethodArea
Area calculates the area of the triangle using Heron's formula
challenge-10/solution-template.go:89
↓ 1 callersMethodArea
()
challenge-10/submissions/BroQi/solution-template.go:13
↓ 1 callersMethodArea
Area calculates the area of the rectangle
challenge-10/submissions/Johrespi/solution-template.go:43
↓ 1 callersMethodArea
Area calculates the area of the circle
challenge-10/submissions/Johrespi/solution-template.go:76
↓ 1 callersMethodArea
Area calculates the area of the triangle using Heron's formula
challenge-10/submissions/Johrespi/solution-template.go:116
↓ 1 callersFunctionAuditMiddleware
AuditMiddleware logs command execution for audit
packages/cobra/challenge-4-advanced-features/solution-template.go:348
↓ 1 callersFunctionAuthInterceptor
AuthInterceptor is a client interceptor for authentication
challenge-14/solution-template.go:233
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware validates API keys for protected routes
packages/gin/challenge-2-middleware/solution-template.go:85
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware validates API keys for protected routes (Done)
packages/gin/challenge-2-middleware/submissions/BrianHuang813/solution.go:124
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware validates API keys for protected routes
packages/gin/challenge-2-middleware/submissions/0xMoonrise/solution.go:144
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware validates API keys for protected routes
packages/gin/challenge-2-middleware/submissions/odelbos/solution.go:119
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware validates API keys for protected routes
packages/gin/challenge-2-middleware/submissions/PopovMarko/solution.go:133
↓ 1 callersFunctionAuthMiddleware
()
packages/gin/challenge-2-middleware/submissions/imankhodadi/solution.go:157
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware validates API keys for protected routes
packages/gin/challenge-2-middleware/submissions/yogtanko/solution.go:133
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware validates API keys for protected routes
packages/gin/challenge-2-middleware/submissions/4mzy/solution.go:141
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware validates API keys for protected routes
packages/gin/challenge-2-middleware/submissions/Mxn-ptr/solution.go:124
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware validates API keys for protected routes
packages/gin/challenge-2-middleware/submissions/PolinaSvet/solution.go:222
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware 验证 API Key 并设置用户角色 📌 用途:保护敏感接口,实现权限控制
packages/gin/challenge-2-middleware/submissions/22-7-co/solution.go:161
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware validates API keys for protected routes
packages/gin/challenge-2-middleware/submissions/q1ngy/solution.go:128
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware validates API keys for protected routes
packages/gin/challenge-2-middleware/submissions/Kinsue/solution.go:143
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware validates API keys for protected routes
packages/gin/challenge-2-middleware/submissions/shansing/solution.go:170
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware validates API keys for protected routes
packages/gin/challenge-2-middleware/submissions/ItalloMangueBoy/solution.go:131
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware validates API keys for protected routes
packages/gin/challenge-2-middleware/submissions/Onkar-25/solution.go:135
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware validates API keys for protected routes
packages/gin/challenge-2-middleware/submissions/father-frog/solution.go:268
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware validates API keys for protected routes
packages/gin/challenge-2-middleware/submissions/sweet-boby/solution.go:134
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware validates API keys for protected routes
packages/fiber/challenge-2-middleware/solution-template.go:116
↓ 1 callersFunctionAuthMiddleware
()
packages/fiber/challenge-2-middleware/submissions/odelbos/solution.go:157
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/yz4230/solution-template.go:14
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/agusu/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/jrbarbati/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
(next http.Handler)
challenge-5/submissions/odelbos/solution-template.go:11
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/lyb88999/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized (no body).
challenge-5/submissions/hudazaan/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/Mayankjustdial/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header.
challenge-5/submissions/hvijaycse/solution-template.go:11
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/Kosench/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/shahzodshafizod/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/PopovMarko/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/Sahillather002/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/himanshum9/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/Hikitak/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/manik23/solution-template.go:14
↓ 1 callersFunctionAuthMiddleware
(next http.Handler)
challenge-5/submissions/imankhodadi/solution-template.go:40
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/MYK12397/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/amrshaban2005/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/chenyao0910/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/nosrio/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/sutthiphong2005/solution-template.go:22
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/jersonzc/solution-template.go:14
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/shivamarora1/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/ZaharBorisenko/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/4mzy/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/mvsouza/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/Mxn-ptr/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/Ali-Fartoot/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/korranat9/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/mick4711/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/ne0phyte/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/bmeverett/solution-template.go:13
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks the "X-Auth-Token" header. If it's "secret", call the next handler. Otherwise, respond with 401 Unauthorized.
challenge-5/submissions/PolinaSvet/solution-template.go:13
← previousnext →1,401–1,500 of 12,886, ranked by callers