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
Function
MaskCreditCard
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
Function
MaskCreditCard
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
Function
MaskCreditCard
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
Function
MaskCreditCard
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
Function
MaskCreditCard
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
Function
Middleware
()
packages/gin/challenge-2-middleware/submissions/yogtanko/solution.go:49
Function
MinCoins
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
Function
NaivePatternMatch
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
Function
NewAIService
NewAIService creates a new AI service with the specified provider
web-ui/internal/services/ai.go:42
Function
NewAPIHandler
NewAPIHandler creates a new API handler
web-ui/internal/handlers/api.go:159
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
---------------- 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
Function
NewBankAccount
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
Function
NewBankAccount
(id, owner string, initialBalance, minBalance float64)
challenge-7/submissions/Kosench/solution-template.go:69
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewBankAccount
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
Function
NewCache
─── Cache Factory ──────────────────────────────────────────────────────────── NewCache creates and returns a Cache using the given eviction policy an
challenge-28/submissions/PopovMarko/solution-template.go:762
Function
NewChallengeService
NewChallengeService creates a new challenge service
web-ui/internal/services/challenge.go:21
Function
NewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/llopp1994/solution-template.go:56
Function
NewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/odelbos/solution-template.go:70
Function
NewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/Kosench/solution-template.go:107
Function
NewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/PopovMarko/solution-template.go:63
Function
NewChatServer
()
challenge-8/submissions/imankhodadi/solution-template.go:47
Function
NewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/yogtanko/solution-template.go:53
Function
NewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/nosrio/solution-template.go:60
Function
NewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/jersonzc/solution-template.go:48
Function
NewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/mvsouza/solution-template.go:50
Function
NewChatServer
()
challenge-8/submissions/Ali-Fartoot/solution-template.go:35
Function
NewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/mick4711/solution-template.go:49
Function
NewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/ne0phyte/solution-template.go:51
Function
NewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/y1hao/solution-template.go:42
Function
NewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/HeimaoLST/solution-template.go:48
Function
NewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/brenoamin/solution-template.go:59
Function
NewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/nzamulov/solution-template.go:52
Function
NewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/Cpoing/solution-template.go:52
Function
NewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/Gandook/solution-template.go:42
Function
NewChatServer
NewChatServer creates a new chat server instance
challenge-8/submissions/JackDalberg/solution-template.go:84
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/jrbarbati/solution-template.go:60
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/odelbos/solution-template.go:53
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/lyb88999/solution-template.go:69
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/kiramux/solution-template.go:60
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/Kosench/solution-template.go:65
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/PopovMarko/solution-template.go:81
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/BroQi/solution-template.go:53
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/mihir1737/solution-template.go:56
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/Hikitak/solution-template.go:51
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/azs0309/solution-template.go:68
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/mvsouza/solution-template.go:60
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/Mxn-ptr/solution-template.go:54
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/Ali-Fartoot/solution-template.go:57
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/mick4711/solution-template.go:66
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/ne0phyte/solution-template.go:54
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/PolinaSvet/solution-template.go:59
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/y1hao/solution-template.go:56
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/wgasparin/solution-template.go:55
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/AkifhanIlgaz/solution-template.go:53
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/brenoamin/solution-template.go:55
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/ImHotDog/solution-template.go:63
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/awsl1110/solution-template.go:57
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/Johrespi/solution-template.go:66
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/grozdovk/solution-template.go:61
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/longbui98/solution-template.go:61
Function
NewCircle
(radius float64)
challenge-10/submissions/0xSangeet/solution-template.go:44
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/amanabay/solution-template.go:57
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/110Aakif/solution-template.go:58
Function
NewCircle
NewCircle creates a new Circle with validation
challenge-10/submissions/ashwinipatankar/solution-template.go:66
← previous
next →
7,701–7,800 of 12,886, ranked by callers