MCPcopy Create free account

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

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

↓ 1 callersFunctionConnectToServices
Connect to both services and return an OrderService
challenge-14/solution-template.go:305
↓ 1 callersMethodConsumeVerifiedCode
(r *http.Request, client *OAuth2ClientInfo)
challenge-15/submissions/mvsouza/solution-template.go:498
↓ 1 callersFunctionContains
Contains returns true if the slice contains the given element
challenge-27/submissions/YounesBouchbouk/solution-template.go:320
↓ 1 callersFunctionContains
Contains returns true if the slice contains the given element
challenge-27/submissions/JackDalberg/solution-template.go:253
↓ 1 callersMethodContains
Contains returns true if the set contains the given element
challenge-27/submissions/PopovMarko/solution-template.go:205
↓ 1 callersFunctionContentTypeMiddleware
ContentTypeMiddleware validates content type for POST/PUT requests
packages/gin/challenge-2-middleware/solution-template.go:128
↓ 1 callersFunctionContentTypeMiddleware
ContentTypeMiddleware validates content type for POST/PUT requests
packages/gin/challenge-2-middleware/submissions/0xMoonrise/solution.go:272
↓ 1 callersFunctionContentTypeMiddleware
ContentTypeMiddleware validates content type for POST/PUT requests
packages/gin/challenge-2-middleware/submissions/odelbos/solution.go:188
↓ 1 callersFunctionContentTypeMiddleware
ContentTypeMiddleware validates content type for POST/PUT requests
packages/gin/challenge-2-middleware/submissions/PopovMarko/solution.go:217
↓ 1 callersFunctionContentTypeMiddleware
()
packages/gin/challenge-2-middleware/submissions/imankhodadi/solution.go:228
↓ 1 callersFunctionContentTypeMiddleware
ContentTypeMiddleware validates content type for POST/PUT requests
packages/gin/challenge-2-middleware/submissions/yogtanko/solution.go:276
↓ 1 callersFunctionContentTypeMiddleware
ContentTypeMiddleware validates content type for POST/PUT requests
packages/gin/challenge-2-middleware/submissions/4mzy/solution.go:236
↓ 1 callersFunctionContentTypeMiddleware
ContentTypeMiddleware validates content type for POST/PUT requests
packages/gin/challenge-2-middleware/submissions/Mxn-ptr/solution.go:245
↓ 1 callersFunctionContentTypeMiddleware
ContentTypeMiddleware validates content type for POST/PUT requests
packages/gin/challenge-2-middleware/submissions/PolinaSvet/solution.go:305
↓ 1 callersFunctionContentTypeMiddleware
ContentTypeMiddleware 验证 POST/PUT 请求的 Content-Type 📌 用途:确保客户端发送正确格式的数据
packages/gin/challenge-2-middleware/submissions/22-7-co/solution.go:319
↓ 1 callersFunctionContentTypeMiddleware
ContentTypeMiddleware validates Content type for POST/PUT requests
packages/gin/challenge-2-middleware/submissions/q1ngy/solution.go:208
↓ 1 callersFunctionContentTypeMiddleware
ContentTypeMiddleware validates content type for POST/PUT requests
packages/gin/challenge-2-middleware/submissions/Kinsue/solution.go:289
↓ 1 callersFunctionContentTypeMiddleware
ContentTypeMiddleware validates content type for POST/PUT requests
packages/gin/challenge-2-middleware/submissions/shansing/solution.go:255
↓ 1 callersFunctionContentTypeMiddleware
ContentTypeMiddleware validates content type for POST/PUT requests
packages/gin/challenge-2-middleware/submissions/ItalloMangueBoy/solution.go:256
↓ 1 callersFunctionContentTypeMiddleware
ContentTypeMiddleware validates content type for POST/PUT requests
packages/gin/challenge-2-middleware/submissions/Onkar-25/solution.go:292
↓ 1 callersFunctionContentTypeMiddleware
ContentTypeMiddleware validates content type for POST/PUT requests
packages/gin/challenge-2-middleware/submissions/sweet-boby/solution.go:246
↓ 1 callersFunctionConvertFormat
ConvertFormat converts configuration to specified format
packages/cobra/challenge-4-advanced-features/solution-template.go:330
↓ 1 callersFunctionCountWordFrequency
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/solution-template.go:19
↓ 1 callersFunctionCountWordFrequency
(text string)
challenge-6/submissions/imankhodadi/solution-template.go:9
↓ 1 callersMethodCreateArticle
(data Article)
packages/gin/challenge-2-middleware/submissions/PolinaSvet/solution.go:97
↓ 1 callersMethodCreateBook
POST /api/books: Create a new book
challenge-9/submissions/nosrio/solution-template.go:277
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/jrbarbati/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/odelbos/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/lyb88999/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/kiramux/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/PopovMarko/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/Hikitak/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
(parent context.Context)
challenge-30/submissions/imankhodadi/solution-template.go:13
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/MYK12397/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/amrshaban2005/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/YounesBouchbouk/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
CreateCancellableContext creates a cancellable context
challenge-30/submissions/YounesBouchbouk/solution-template.go:39
↓ 1 callersMethodCreateCancellableContext
(parent context.Context)
challenge-30/submissions/ForcemCS/solution-template.go:11
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/mvsouza/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/Ali-Fartoot/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/mick4711/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/PolinaSvet/solution-template.go:14
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/y1hao/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/cep-ter/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/xyersh/solution-template.go:13
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/MaryNfs/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/berkkaradalan/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/muhammedkucukaslan/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/PureTeamLead/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/ImHotDog/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/ashwinipatankar/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/KhaledMosaad/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/Onkar-25/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/nzamulov/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/Gandook/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/JackDalberg/solution-template.go:12
↓ 1 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/submissions/hrabkin/solution-template.go:12
↓ 1 callersMethodCreateLimiter
(cfg RateLimiterConfig)
challenge-29/submissions/odelbos/solution-template.go:379
↓ 1 callersMethodCreateLimiter
(config RateLimiterConfig)
challenge-29/submissions/PolinaSvet/solution-template.go:596
↓ 1 callersMethodCreateProduct
CreateProduct adds a new product to the database
challenge-13/submissions/Hikitak/solution-template.go:59
↓ 1 callersMethodCreateProduct
CreateProduct adds a new product to the database
challenge-13/submissions/wgasparin/solution-template.go:50
↓ 1 callersMethodCreateProduct
CreateProduct adds a new product to the database
challenge-13/submissions/MaryNfs/solution-template.go:51
↓ 1 callersMethodCreateProduct
CreateProduct adds a new product to the database
challenge-13/submissions/berkkaradalan/solution-template.go:56
↓ 1 callersMethodCreateUser
CreateUser creates a new user in the database
packages/mongodb/challenge-1-connection-crud/submissions/RezaSi/solution.go:53
↓ 1 callersMethodCreateUser
CreateUser creates a new user in the database
packages/mongodb/challenge-1-connection-crud/submissions/Onkar-25/solution.go:78
↓ 1 callersFunctionCreateUserWithResult
CreateUserWithResult creates a user and returns result metadata
packages/gorm/challenge-5-generics/solution-template.go:94
↓ 1 callersFunctionDPLongestIncreasingSubsequence
DPLongestIncreasingSubsequence finds the length of the longest increasing subsequence using a standard dynamic programming approach with O(n²) time co
challenge-24/submissions/odelbos/solution-template.go:45
↓ 1 callersFunctionDPLongestIncreasingSubsequence
DPLongestIncreasingSubsequence finds the length of the longest increasing subsequence using a standard dynamic programming approach with O(n²) time co
challenge-24/submissions/PopovMarko/solution-template.go:47
↓ 1 callersFunctionDPLongestIncreasingSubsequence
(nums []int)
challenge-24/submissions/imankhodadi/solution-template.go:41
↓ 1 callersFunctionDPLongestIncreasingSubsequence
DPLongestIncreasingSubsequence finds the length of the longest increasing subsequence using a standard dynamic programming approach with O(n²) time co
challenge-24/submissions/MYK12397/solution-template.go:45
↓ 1 callersFunctionDPLongestIncreasingSubsequence
DPLongestIncreasingSubsequence finds the length of the longest increasing subsequence using a standard dynamic programming approach with O(n²) time co
challenge-24/submissions/mvsouza/solution-template.go:48
↓ 1 callersFunctionDPLongestIncreasingSubsequence
DPLongestIncreasingSubsequence finds the length of the longest increasing subsequence using a standard dynamic programming approach with O(n²) time co
challenge-24/submissions/nzamulov/solution-template.go:46
↓ 1 callersFunctionDPLongestIncreasingSubsequence
DPLongestIncreasingSubsequence finds the length of the longest increasing subsequence using a standard dynamic programming approach with O(n²) time co
challenge-24/submissions/Gandook/solution-template.go:47
↓ 1 callersMethodDelete
(key string)
challenge-28/submissions/mvsouza/solution-template.go:103
↓ 1 callersMethodDeleteArticle
(id int)
packages/gin/challenge-2-middleware/submissions/PolinaSvet/solution.go:131
↓ 1 callersMethodDeleteBook
DELETE /api/books/{id}: Delete a book
challenge-9/submissions/nosrio/solution-template.go:331
↓ 1 callersFunctionDeleteNestedKey
(key string)
packages/cobra/challenge-4-advanced-features/submissions/odelbos/solution.go:417
↓ 1 callersMethodDeleteProduct
DeleteProduct removes a product by ID
challenge-13/solution-template.go:59
↓ 1 callersMethodDeleteProduct
(id int64)
challenge-13/submissions/imankhodadi/solution-template.go:89
↓ 1 callersMethodDeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/PolinaSvet/solution-template.go:142
↓ 1 callersMethodDeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/MaryNfs/solution-template.go:98
↓ 1 callersMethodDeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/berkkaradalan/solution-template.go:118
↓ 1 callersFunctionDeleteUser
DeleteUser deletes a user by ID using generics API
packages/gorm/challenge-5-generics/solution-template.go:70
↓ 1 callersMethodDeleteUser
DeleteUser removes a user from the database
packages/mongodb/challenge-1-connection-crud/submissions/RezaSi/solution.go:237
↓ 1 callersMethodDeleteUser
(id int)
packages/gin/challenge-1-basic-routing/submissions/PolinaSvet/solution.go:218
↓ 1 callersMethodDeposit
Deposit adds the specified amount to the account balance. It returns an error if the amount is invalid or exceeds the transaction limit.
challenge-7/submissions/jrbarbati/solution-template.go:89
↓ 1 callersMethodDeposit
Deposit adds the specified amount to the account balance. It returns an error if the amount is invalid or exceeds the transaction limit.
challenge-7/submissions/shahzodshafizod/solution-template.go:86
↓ 1 callersMethodDeposit
(amount float64)
challenge-7/submissions/imankhodadi/solution-template.go:76
↓ 1 callersMethodDeposit
Deposit adds the specified amount to the account balance. It returns an error if the amount is invalid or exceeds the transaction limit.
challenge-7/submissions/bmamha/solution-template.go:114
↓ 1 callersMethodDeposit
Deposit adds the specified amount to the account balance. It returns an error if the amount is invalid or exceeds the transaction limit.
challenge-7/submissions/mick4711/solution-template.go:119
↓ 1 callersMethodDeposit
Deposit adds the specified amount to the account balance. It returns an error if the amount is invalid or exceeds the transaction limit.
challenge-7/submissions/y1hao/solution-template.go:80
↓ 1 callersMethodDeposit
Deposit adds the specified amount to the account balance. It returns an error if the amount is invalid or exceeds the transaction limit.
challenge-7/submissions/AkifhanIlgaz/solution-template.go:90
↓ 1 callersMethodDeposit
Deposit adds the specified amount to the account balance. It returns an error if the amount is invalid or exceeds the transaction limit.
challenge-7/submissions/brenoamin/solution-template.go:107
↓ 1 callersMethodDeposit
Deposit adds the specified amount to the account balance. It returns an error if the amount is invalid or exceeds the transaction limit.
challenge-7/submissions/RezaSi/solution-template.go:119
↓ 1 callersMethodDeposit
Deposit adds the specified amount to the account balance. It returns an error if the amount is invalid or exceeds the transaction limit.
challenge-7/submissions/maket12/solution-template.go:108
↓ 1 callersFunctionDetectFormat
DetectFormat auto-detects configuration format
packages/cobra/challenge-4-advanced-features/solution-template.go:323
↓ 1 callersFunctionDetectFormat
(filename string)
packages/cobra/challenge-4-advanced-features/submissions/odelbos/solution.go:452
↓ 1 callersFunctionDetectFormat
DetectFormat auto-detects configuration format
packages/cobra/challenge-4-advanced-features/submissions/PolinaSvet/solution.go:709
↓ 1 callersFunctionDifference
Difference returns a new set with elements in s1 that are not in s2
challenge-27/solution-template.go:182
↓ 1 callersFunctionDijkstra
Dijkstra implements Dijkstra's algorithm for weighted graphs with non-negative weights to find shortest paths from a source vertex to all other vertic
challenge-25/submissions/odelbos/solution-template.go:150
← previousnext →2,001–2,100 of 12,886, ranked by callers