MCPcopy Create free account

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

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

FunctionMaskCreditCard
MaskCreditCard replaces all but the last 4 digits of a credit card number with "X" Example: "1234-5678-9012-3456" -> "XXXX-XXXX-XXXX-3456"
challenge-26/submissions/mick4711/solution-template.go:35
FunctionMaskCreditCard
MaskCreditCard replaces all but the last 4 digits of a credit card number with "X" Example: "1234-5678-9012-3456" -> "XXXX-XXXX-XXXX-3456"
challenge-26/submissions/PolinaSvet/solution-template.go:41
FunctionMaskCreditCard
MaskCreditCard replaces all but the last 4 digits of a credit card number with "X" Example: "1234-5678-9012-3456" -> "XXXX-XXXX-XXXX-3456"
challenge-26/submissions/KhaledMosaad/solution-template.go:53
FunctionMaskCreditCard
MaskCreditCard replaces all but the last 4 digits of a credit card number with "X" Example: "1234-5678-9012-3456" -> "XXXX-XXXX-XXXX-3456"
challenge-26/submissions/nzamulov/solution-template.go:33
FunctionMaskCreditCard
MaskCreditCard replaces all but the last 4 digits of a credit card number with "X" Example: "1234-5678-9012-3456" -> "XXXX-XXXX-XXXX-3456"
challenge-26/submissions/Gandook/solution-template.go:36
FunctionMiddleware
()
packages/gin/challenge-2-middleware/submissions/yogtanko/solution.go:49
FunctionMinCoins
MinCoins returns the minimum number of coins needed to make the given amount. Uses greedy approach: always choose the largest coin possible. If the am
challenge-22/submissions/chaos1ee/solution-template.go:8
FunctionNaivePatternMatch
NaivePatternMatch performs a brute force search for pattern in text. Returns a slice of all starting indices where the pattern is found.
challenge-23/submissions/imankhodadi/solution-template.go:6
FunctionNewAIService
NewAIService creates a new AI service with the specified provider
web-ui/internal/services/ai.go:42
FunctionNewAPIHandler
NewAPIHandler creates a new API handler
web-ui/internal/handlers/api.go:159
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/jrbarbati/solution-template.go:62
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/odelbos/solution-template.go:74
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/kiramux/solution-template.go:75
FunctionNewBankAccount
---------------- BankAccount Methods ---------------- // NewBankAccount creates a new bank account with the given parameters. It returns an error if a
challenge-7/submissions/hudazaan/solution-template.go:74
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/hvijaycse/solution-template.go:61
FunctionNewBankAccount
(id, owner string, initialBalance, minBalance float64)
challenge-7/submissions/Kosench/solution-template.go:69
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/shahzodshafizod/solution-template.go:69
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/PopovMarko/solution-template.go:67
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/himanshum9/solution-template.go:74
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/manik23/solution-template.go:72
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/MYK12397/solution-template.go:87
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/bmamha/solution-template.go:76
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/nosrio/solution-template.go:72
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/jersonzc/solution-template.go:73
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/mvsouza/solution-template.go:65
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/Mxn-ptr/solution-template.go:68
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/Ali-Fartoot/solution-template.go:69
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/korranat9/solution-template.go:75
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/mick4711/solution-template.go:75
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/ne0phyte/solution-template.go:63
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/PolinaSvet/solution-template.go:72
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/Raycas96/solution-template.go:66
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/y1hao/solution-template.go:54
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/DavidCao22/solution-template.go:64
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/AkifhanIlgaz/solution-template.go:62
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/brenoamin/solution-template.go:66
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/ImHotDog/solution-template.go:70
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/grozdovk/solution-template.go:73
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/ashwinipatankar/solution-template.go:76
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/anuj952/solution-template.go:73
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/shansing/solution-template.go:69
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/RezaSi/solution-template.go:75
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/t4e1/solution-template.go:73
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/maket12/solution-template.go:72
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/nzamulov/solution-template.go:61
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/Cpoing/solution-template.go:67
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/Gandook/solution-template.go:67
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/JackDalberg/solution-template.go:72
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/kuzminprog/solution-template.go:64
FunctionNewBankAccount
NewBankAccount creates a new bank account with the given parameters. It returns an error if any of the parameters are invalid.
challenge-7/submissions/Ashutosh652/solution-template.go:71
FunctionNewCache
─── Cache Factory ──────────────────────────────────────────────────────────── NewCache creates and returns a Cache using the given eviction policy an
challenge-28/submissions/PopovMarko/solution-template.go:762
FunctionNewChallengeService
NewChallengeService creates a new challenge service
web-ui/internal/services/challenge.go:21
FunctionNewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/llopp1994/solution-template.go:56
FunctionNewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/odelbos/solution-template.go:70
FunctionNewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/Kosench/solution-template.go:107
FunctionNewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/PopovMarko/solution-template.go:63
FunctionNewChatServer
()
challenge-8/submissions/imankhodadi/solution-template.go:47
FunctionNewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/yogtanko/solution-template.go:53
FunctionNewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/nosrio/solution-template.go:60
FunctionNewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/jersonzc/solution-template.go:48
FunctionNewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/mvsouza/solution-template.go:50
FunctionNewChatServer
()
challenge-8/submissions/Ali-Fartoot/solution-template.go:35
FunctionNewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/mick4711/solution-template.go:49
FunctionNewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/ne0phyte/solution-template.go:51
FunctionNewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/y1hao/solution-template.go:42
FunctionNewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/HeimaoLST/solution-template.go:48
FunctionNewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/brenoamin/solution-template.go:59
FunctionNewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/nzamulov/solution-template.go:52
FunctionNewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/Cpoing/solution-template.go:52
FunctionNewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/Gandook/solution-template.go:42
FunctionNewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/JackDalberg/solution-template.go:84
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/jrbarbati/solution-template.go:60
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/odelbos/solution-template.go:53
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/lyb88999/solution-template.go:69
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/kiramux/solution-template.go:60
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/Kosench/solution-template.go:65
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/PopovMarko/solution-template.go:81
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/BroQi/solution-template.go:53
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/mihir1737/solution-template.go:56
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/Hikitak/solution-template.go:51
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/azs0309/solution-template.go:68
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/mvsouza/solution-template.go:60
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/Mxn-ptr/solution-template.go:54
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/Ali-Fartoot/solution-template.go:57
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/mick4711/solution-template.go:66
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/ne0phyte/solution-template.go:54
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/PolinaSvet/solution-template.go:59
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/y1hao/solution-template.go:56
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/wgasparin/solution-template.go:55
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/AkifhanIlgaz/solution-template.go:53
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/brenoamin/solution-template.go:55
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/ImHotDog/solution-template.go:63
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/awsl1110/solution-template.go:57
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/Johrespi/solution-template.go:66
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/grozdovk/solution-template.go:61
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/longbui98/solution-template.go:61
FunctionNewCircle
(radius float64)
challenge-10/submissions/0xSangeet/solution-template.go:44
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/amanabay/solution-template.go:57
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/110Aakif/solution-template.go:58
FunctionNewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/ashwinipatankar/solution-template.go:66
← previousnext →7,701–7,800 of 12,886, ranked by callers