MCPcopy Create free account

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

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

FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/amrshaban2005/solution-template.go:30
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/chenyao0910/solution-template.go:36
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/nosrio/solution-template.go:37
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/sutthiphong2005/solution-template.go:41
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/jersonzc/solution-template.go:31
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/shivamarora1/solution-template.go:39
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/ZaharBorisenko/solution-template.go:31
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/4mzy/solution-template.go:35
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/mvsouza/solution-template.go:30
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/Mxn-ptr/solution-template.go:32
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/Ali-Fartoot/solution-template.go:37
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/korranat9/solution-template.go:36
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/mick4711/solution-template.go:34
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/ne0phyte/solution-template.go:29
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/bmeverett/solution-template.go:35
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/PolinaSvet/solution-template.go:35
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/adi041518/solution-template.go:35
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/Raycas96/solution-template.go:33
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/VFarsiyants/solution-template.go:37
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/y1hao/solution-template.go:33
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/DavidCao22/solution-template.go:32
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/Ilya837/solution-template.go:40
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/AkifhanIlgaz/solution-template.go:34
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/tufstraka/solution-template.go:34
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/MaryNfs/solution-template.go:31
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/HeimaoLST/solution-template.go:38
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/kushalShukla-web/solution-template.go:36
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/berkkaradalan/solution-template.go:30
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/muhammedkucukaslan/solution-template.go:32
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/Johrespi/solution-template.go:40
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/grozdovk/solution-template.go:35
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/Divyamsirswal/solution-template.go:32
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/ashwinipatankar/solution-template.go:36
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/RezaSi/solution-template.go:30
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/t4e1/solution-template.go:35
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/baindraraj/solution-template.go:31
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/iamsurajmandal/solution-template.go:39
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/onomica/solution-template.go:41
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/nzamulov/solution-template.go:30
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/Gandook/solution-template.go:31
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/SemenTretyakov/solution-template.go:32
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/JackDalberg/solution-template.go:35
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/sahil1si18ec083/solution-template.go:35
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/zylbeyondlimits/solution-template.go:35
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/kuzminprog/solution-template.go:30
FunctionsecureHandler
secureHandler returns "You are authorized!" on GET /secure
challenge-5/submissions/Ashutosh652/solution-template.go:35
FunctionserveHTMLInterface
HTMLInterface ======================================================================= serveHTMLInterface serves the HTML testing interface
challenge-9/submissions/PolinaSvet/solution-template.go:514
MethodsetState
setState changes the circuit breaker state and triggers callbacks
challenge-20/solution-template.go:130
FunctionsetupMiddleware
(e *echo.Echo)
packages/echo/challenge-2-middleware/solution-template.go:99
MethodshouldTrip
shouldTrip determines if the circuit breaker should trip to open state
challenge-20/solution-template.go:168
MethodshouldTrip
shouldTrip determines if the circuit breaker should trip to open state
challenge-20/submissions/amrshaban2005/solution-template.go:262
MethodshouldTrip
shouldTrip determines if the circuit breaker should trip to open state
challenge-20/submissions/YounesBouchbouk/solution-template.go:255
MethodshouldTrip
shouldTrip determines if the circuit breaker should trip to open state
challenge-20/submissions/PolinaSvet/solution-template.go:277
FunctiontruncateDescription
(text, maxLength = 100)
web-ui/static/js/main.js:522
FunctiontruncateText
(text, maxLength = 150)
web-ui/static/js/main.js:14
FunctiontypeCode
()
docs/assets/script.js:99
FunctionupdateArticle
updateArticle handles PUT /articles/:id - update article (protected)
packages/gin/challenge-2-middleware/solution-template.go:176
FunctionupdateArticle
updateArticle handles PUT /articles/:id - update article (protected)
packages/gin/challenge-2-middleware/submissions/BrianHuang813/solution.go:386
FunctionupdateArticle
updateArticle handles PUT /articles/:id - update article (protected)
packages/gin/challenge-2-middleware/submissions/0xMoonrise/solution.go:416
FunctionupdateArticle
updateArticle handles PUT /articles/:id - update article (protected)
packages/gin/challenge-2-middleware/submissions/odelbos/solution.go:264
FunctionupdateArticle
updateArticle handles PUT /articles/:id - update article (protected)
packages/gin/challenge-2-middleware/submissions/PopovMarko/solution.go:316
FunctionupdateArticle
(c *gin.Context)
packages/gin/challenge-2-middleware/submissions/imankhodadi/solution.go:326
FunctionupdateArticle
updateArticle handles PUT /articles/:id - update article (protected)
packages/gin/challenge-2-middleware/submissions/yogtanko/solution.go:422
FunctionupdateArticle
updateArticle handles PUT /articles/:id - update article (protected)
packages/gin/challenge-2-middleware/submissions/4mzy/solution.go:356
FunctionupdateArticle
updateArticle handles PUT /articles/:id - update article (protected)
packages/gin/challenge-2-middleware/submissions/Mxn-ptr/solution.go:441
FunctionupdateArticle
updateArticle 更新文章(需要认证)
packages/gin/challenge-2-middleware/submissions/22-7-co/solution.go:547
FunctionupdateArticle
updateArticle handles PUT /articles/:id - update article (protected)
packages/gin/challenge-2-middleware/submissions/q1ngy/solution.go:334
FunctionupdateArticle
updateArticle handles PUT /articles/:id - update article (protected)
packages/gin/challenge-2-middleware/submissions/Kinsue/solution.go:434
FunctionupdateArticle
updateArticle handles PUT /articles/:id - update article (protected)
packages/gin/challenge-2-middleware/submissions/shansing/solution.go:397
FunctionupdateArticle
updateArticle handles PUT /articles/:id - update article (protected)
packages/gin/challenge-2-middleware/submissions/ItalloMangueBoy/solution.go:395
FunctionupdateArticle
updateArticle handles PUT /articles/:id - update article (protected)
packages/gin/challenge-2-middleware/submissions/Onkar-25/solution.go:449
FunctionupdateArticle
updateArticle handles PUT /articles/:id - update article (protected)
packages/gin/challenge-2-middleware/submissions/father-frog/solution.go:481
FunctionupdateArticle
updateArticle handles PUT /articles/:id - update article (protected)
packages/gin/challenge-2-middleware/submissions/sweet-boby/solution.go:414
FunctionupdateArticleHandler
updateArticleHandler updates an existing article
packages/fiber/challenge-2-middleware/solution-template.go:172
FunctionupdateArticleHandler
(c fiber.Ctx)
packages/fiber/challenge-2-middleware/submissions/odelbos/solution.go:269
MethodupdateBook
(w http.ResponseWriter, r *http.Request)
challenge-9/submissions/ne0phyte/solution-template.go:245
MethodupdateBook
updateBook handles PUT /api/books/{id}
challenge-9/submissions/PolinaSvet/solution-template.go:430
MethodupdateBook
(w http.ResponseWriter, r *http.Request)
challenge-9/submissions/brenoamin/solution-template.go:279
FunctionupdatePost
(c echo.Context)
packages/echo/challenge-2-middleware/solution-template.go:193
FunctionupdateProduct
(c echo.Context)
packages/echo/challenge-3-validation-errors/solution-template.go:145
FunctionupdateProductHandler
updateProductHandler updates an existing product
packages/fiber/challenge-3-validation-errors/solution-template.go:139
FunctionupdateProductHandler
(c fiber.Ctx)
packages/fiber/challenge-3-validation-errors/submissions/odelbos/solution.go:215
FunctionupdateProfileHandler
(c echo.Context)
packages/echo/challenge-4-authentication/solution-template.go:189
FunctionupdateProfileHandler
updateProfileHandler updates current user's profile
packages/fiber/challenge-4-authentication/solution-template.go:206
FunctionupdateProfileHandler
(c fiber.Ctx)
packages/fiber/challenge-4-authentication/submissions/odelbos/solution.go:281
FunctionupdateTask
(c echo.Context)
packages/echo/challenge-1-basic-routing/solution-template.go:123
FunctionupdateTask
(c echo.Context)
packages/echo/challenge-1-basic-routing/submissions/RezaSi/solution.go:221
FunctionupdateUser
updateUser handles PUT /users/:id
packages/gin/challenge-1-basic-routing/solution-template.go:69
FunctionupdateUser
updateUser handles PUT /users/:id (Done)
packages/gin/challenge-1-basic-routing/submissions/BrianHuang813/solution.go:140
FunctionupdateUser
updateUser handles PUT /users/:id
packages/gin/challenge-1-basic-routing/submissions/0xMoonrise/solution.go:135
FunctionupdateUser
(c *gin.Context)
packages/gin/challenge-1-basic-routing/submissions/odelbos/solution.go:110
FunctionupdateUser
updateUser handles PUT /users/:id
packages/gin/challenge-1-basic-routing/submissions/labib99/solution.go:139
FunctionupdateUser
updateUser handles PUT /users/:id
packages/gin/challenge-1-basic-routing/submissions/zyy125/solution.go:133
FunctionupdateUser
(c *gin.Context)
packages/gin/challenge-1-basic-routing/submissions/hudazaan/solution.go:116
FunctionupdateUser
updateUser handles PUT /users/:id
packages/gin/challenge-1-basic-routing/submissions/caojun1997/solution.go:142
FunctionupdateUser
updateUser handles PUT /users/:id
packages/gin/challenge-1-basic-routing/submissions/mahmoud-shabban/solution.go:153
FunctionupdateUser
updateUser handles PUT /users/:id
packages/gin/challenge-1-basic-routing/submissions/kelvin-yong/solution.go:116
FunctionupdateUser
updateUser handles PUT /users/:id
packages/gin/challenge-1-basic-routing/submissions/jadeproheshan/solution.go:125
FunctionupdateUser
updateUser handles PUT /users/:id, applying any non-empty fields from the request body to the existing user in place.
packages/gin/challenge-1-basic-routing/submissions/PopovMarko/solution.go:113
FunctionupdateUser
updateUser handles PUT /users/:id
packages/gin/challenge-1-basic-routing/submissions/Alibiderci/solution.go:190
← previousnext →12,701–12,800 of 12,886, ranked by callers