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
Method
DeleteBook
(id string)
challenge-9/submissions/Kosench/solution-template.go:201
Method
DeleteBook
(id string)
challenge-9/submissions/Kosench/solution-template.go:313
Method
DeleteBook
(id string)
challenge-9/submissions/PopovMarko/solution-template.go:253
Method
DeleteBook
DeleteBook send id to repository layer to delete book from repository
challenge-9/submissions/PopovMarko/solution-template.go:342
Method
DeleteBook
(id string)
challenge-9/submissions/imankhodadi/solution-template.go:178
Method
DeleteBook
(id string)
challenge-9/submissions/imankhodadi/solution-template.go:202
Method
DeleteBook
(id string)
challenge-9/submissions/nosrio/solution-template.go:151
Method
DeleteBook
(id string)
challenge-9/submissions/nosrio/solution-template.go:193
Method
DeleteBook
(id string)
challenge-9/submissions/mvsouza/solution-template.go:139
Method
DeleteBook
(id string)
challenge-9/submissions/mvsouza/solution-template.go:172
Method
DeleteBook
(w http.ResponseWriter, r *http.Request)
challenge-9/submissions/mvsouza/solution-template.go:277
Method
DeleteBook
(id string)
challenge-9/submissions/mick4711/solution-template.go:175
Method
DeleteBook
(id string)
challenge-9/submissions/mick4711/solution-template.go:209
Method
DeleteBook
(id string)
challenge-9/submissions/ne0phyte/solution-template.go:141
Method
DeleteBook
(id string)
challenge-9/submissions/ne0phyte/solution-template.go:167
Method
DeleteBook
(id string)
challenge-9/submissions/PolinaSvet/solution-template.go:237
Method
DeleteBook
(id string)
challenge-9/submissions/PolinaSvet/solution-template.go:271
Method
DeleteBook
(id string)
challenge-9/submissions/brenoamin/solution-template.go:131
Method
DeleteBook
(id string)
challenge-9/submissions/brenoamin/solution-template.go:173
Method
DeleteBook
(id string)
challenge-9/submissions/kushalShukla-web/solution-template.go:39
Method
DeleteBook
(id string)
challenge-9/submissions/kushalShukla-web/solution-template.go:177
Method
DeleteBook
(id string)
challenge-9/submissions/ashwinipatankar/solution-template.go:151
Method
DeleteBook
(id string)
challenge-9/submissions/ashwinipatankar/solution-template.go:204
Method
DeleteBook
(id string)
challenge-9/submissions/nzamulov/solution-template.go:133
Method
DeleteBook
(id string)
challenge-9/submissions/nzamulov/solution-template.go:166
Method
DeleteBook
(id string)
challenge-9/submissions/Cpoing/solution-template.go:150
Method
DeleteBook
(id string)
challenge-9/submissions/Cpoing/solution-template.go:186
Method
DeleteBook
(id string)
challenge-9/submissions/Gandook/solution-template.go:185
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/jrbarbati/solution-template.go:112
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/odelbos/solution-template.go:89
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/lyb88999/solution-template.go:100
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/kiramux/solution-template.go:111
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/Kosench/solution-template.go:137
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/PopovMarko/solution-template.go:208
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/Hikitak/solution-template.go:120
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/manik23/solution-template.go:126
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/sutthiphong2005/solution-template.go:112
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/shivamarora1/solution-template.go:94
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/mvsouza/solution-template.go:124
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/Mxn-ptr/solution-template.go:109
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/Ali-Fartoot/solution-template.go:142
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/mick4711/solution-template.go:111
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/y1hao/solution-template.go:115
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/wgasparin/solution-template.go:100
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/DavidCao22/solution-template.go:140
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/inok94/solution-template.go:116
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/muhammedkucukaslan/solution-template.go:111
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/Johrespi/solution-template.go:126
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/grozdovk/solution-template.go:103
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/blxxdclxud/solution-template.go:91
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/ashwinipatankar/solution-template.go:98
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/KhaledMosaad/solution-template.go:106
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/RezaSi/solution-template.go:95
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/t4e1/solution-template.go:108
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/Onkar-25/solution-template.go:126
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/nzamulov/solution-template.go:95
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/Cpoing/solution-template.go:112
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/Gandook/solution-template.go:109
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/SemenTretyakov/solution-template.go:96
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/JackDalberg/solution-template.go:107
Method
DeleteProduct
DeleteProduct removes a product by ID
challenge-13/submissions/kuzminprog/solution-template.go:130
Function
DeleteUser
(ctx context.Context, db *gorm.DB, userID uint)
packages/gorm/challenge-5-generics/submissions/odelbos/solution.go:75
Function
DeleteUser
(db *gorm.DB, id uint)
packages/gorm/challenge-1-crud-operations/submissions/odelbos/solution.go:57
Function
DeleteUser
DeleteUser removes a user from the database
packages/gorm/challenge-1-crud-operations/submissions/orsenthil/solution.go:77
Function
DeleteUser
DeleteUser removes a user from the database
packages/gorm/challenge-1-crud-operations/submissions/mrYamusa/solution.go:89
Function
DeleteUser
(db *gorm.DB, id uint)
packages/gorm/challenge-1-crud-operations/submissions/imankhodadi/solution.go:58
Function
DeleteUser
DeleteUser removes a user from the database
packages/gorm/challenge-1-crud-operations/submissions/Mxn-ptr/solution.go:78
Function
DeleteUser
DeleteUser removes a user from the database
packages/gorm/challenge-1-crud-operations/submissions/Relief-chat/solution.go:69
Function
DeleteUser
DeleteUser removes a user from the database
packages/gorm/challenge-1-crud-operations/submissions/22-7-co/solution.go:74
Function
DeleteUser
DeleteUser removes a user from the database
packages/gorm/challenge-1-crud-operations/submissions/grozdovk/solution.go:76
Function
DeleteUser
DeleteUser removes a user from the database
packages/gorm/challenge-1-crud-operations/submissions/Kinsue/solution.go:81
Function
DeleteUser
DeleteUser removes a user from the database
packages/gorm/challenge-1-crud-operations/submissions/shansing/solution.go:87
Function
DeleteUser
DeleteUser removes a user from the database by their ID.
packages/gorm/challenge-1-crud-operations/submissions/RezaSi/solution.go:71
Function
DeleteUser
DeleteUser removes a user from the database
packages/gorm/challenge-1-crud-operations/submissions/Onkar-25/solution.go:97
Function
DeleteUser
DeleteUser removes a user from the database
packages/gorm/challenge-1-crud-operations/submissions/zylbeyondlimits/solution.go:94
Function
DeleteUser
DeleteUser removes a user from the database
packages/gorm/challenge-1-crud-operations/submissions/aswinsreeraj/solution.go:68
Method
DeleteUser
(ctx context.Context, userID string)
packages/mongodb/challenge-1-connection-crud/submissions/maket12/solution.go:138
Method
DeleteUser
DeleteUser removes a user from the database
packages/mongodb/challenge-1-connection-crud/submissions/Onkar-25/solution.go:209
Method
DeleteUser
(id int)
packages/gin/challenge-1-basic-routing/submissions/PolinaSvet/solution.go:248
Method
Deposit
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/odelbos/solution-template.go:103
Method
Deposit
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/kiramux/solution-template.go:133
Method
Deposit
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/hudazaan/solution-template.go:101
Method
Deposit
(amount float64)
challenge-7/submissions/Kosench/solution-template.go:124
Method
Deposit
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/PopovMarko/solution-template.go:103
Method
Deposit
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/himanshum9/solution-template.go:96
Method
Deposit
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/MYK12397/solution-template.go:128
Method
Deposit
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/jersonzc/solution-template.go:106
Method
Deposit
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/mvsouza/solution-template.go:88
Method
Deposit
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/Ali-Fartoot/solution-template.go:111
Method
Deposit
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/PolinaSvet/solution-template.go:99
Method
Deposit
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/Raycas96/solution-template.go:97
Method
Deposit
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/DavidCao22/solution-template.go:100
Method
Deposit
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/ImHotDog/solution-template.go:115
Method
Deposit
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/grozdovk/solution-template.go:107
Method
Deposit
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/ashwinipatankar/solution-template.go:95
Method
Deposit
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/anuj952/solution-template.go:116
Method
Deposit
func getAccountById(id string) (*BankAccount, error) { for account := range allAccounts { if allAccounts[account].ID == id { return &allAccounts
challenge-7/submissions/shansing/solution-template.go:106
Method
Deposit
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/t4e1/solution-template.go:104
Method
Deposit
(amount float64)
challenge-7/submissions/abhishek15032000/solution-template.go:142
Method
Deposit
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/nzamulov/solution-template.go:87
← previous
next →
6,201–6,300 of 12,886, ranked by callers