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
GetPostWithUserAndTags
GetPostWithUserAndTags retrieves a post with user and tags preloaded
packages/gorm/challenge-2-associations/submissions/aswinsreeraj/solution.go:109
Function
GetPostsByCategoryWithUserInfo
(db *gorm.DB, category string, page, pageSize int)
packages/gorm/challenge-4-advanced-queries/submissions/odelbos/solution.go:72
Function
GetPostsByCategoryWithUserInfo
GetPostsByCategoryWithUserInfo retrieves posts by category with pagination and user info
packages/gorm/challenge-4-advanced-queries/submissions/aswinsreeraj/solution.go:71
Function
GetPostsByTag
(db *gorm.DB, tagName string)
packages/gorm/challenge-2-associations/submissions/odelbos/solution.go:78
Function
GetPostsByTag
GetPostsByTag retrieves all posts that have a specific tag
packages/gorm/challenge-2-associations/submissions/imankhodadi/solution.go:78
Function
GetPostsByTag
GetPostsByTag retrieves all posts that have a specific tag
packages/gorm/challenge-2-associations/submissions/grozdovk/solution.go:117
Function
GetPostsByTag
GetPostsByTag retrieves all posts that have a specific tag
packages/gorm/challenge-2-associations/submissions/Onkar-25/solution.go:97
Function
GetPostsByTag
GetPostsByTag retrieves all posts that have a specific tag
packages/gorm/challenge-2-associations/submissions/aswinsreeraj/solution.go:80
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/solution-template.go:55
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/odelbos/solution-template.go:55
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/odelbos/solution-template.go:476
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/Kosench/solution-template.go:57
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/Kosench/solution-template.go:527
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/PopovMarko/solution-template.go:57
Method
GetProduct
GetProduct returns product or error if not found
challenge-14/submissions/PopovMarko/solution-template.go:520
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/shivamarora1/solution-template.go:56
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/shivamarora1/solution-template.go:475
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/czysiaczek/solution-template.go:56
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/czysiaczek/solution-template.go:451
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/mvsouza/solution-template.go:58
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/mvsouza/solution-template.go:526
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/mick4711/solution-template.go:55
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/mick4711/solution-template.go:476
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/PolinaSvet/solution-template.go:55
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/PolinaSvet/solution-template.go:492
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/y1hao/solution-template.go:56
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/y1hao/solution-template.go:473
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/longbui98/solution-template.go:56
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/longbui98/solution-template.go:455
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/ashwinipatankar/solution-template.go:56
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/ashwinipatankar/solution-template.go:483
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/nzamulov/solution-template.go:59
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/nzamulov/solution-template.go:464
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/Cpoing/solution-template.go:56
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/Cpoing/solution-template.go:480
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/JackDalberg/solution-template.go:56
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/JackDalberg/solution-template.go:475
Method
GetProduct
(ctx context.Context, productID int64)
challenge-14/submissions/kuzminprog/solution-template.go:464
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/jrbarbati/solution-template.go:82
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/odelbos/solution-template.go:62
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/lyb88999/solution-template.go:71
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/kiramux/solution-template.go:67
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/Kosench/solution-template.go:84
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/PopovMarko/solution-template.go:131
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/Hikitak/solution-template.go:80
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/manik23/solution-template.go:81
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/sutthiphong2005/solution-template.go:70
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/shivamarora1/solution-template.go:68
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/mvsouza/solution-template.go:68
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/Mxn-ptr/solution-template.go:71
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/Ali-Fartoot/solution-template.go:81
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/y1hao/solution-template.go:74
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/DavidCao22/solution-template.go:93
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/inok94/solution-template.go:79
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/muhammedkucukaslan/solution-template.go:71
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/grozdovk/solution-template.go:68
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/blxxdclxud/solution-template.go:69
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/ashwinipatankar/solution-template.go:70
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/RezaSi/solution-template.go:65
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/t4e1/solution-template.go:72
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/nzamulov/solution-template.go:71
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/SemenTretyakov/solution-template.go:65
Method
GetProduct
GetProduct retrieves a product by ID
challenge-13/submissions/kuzminprog/solution-template.go:77
Method
GetProductPerformance
GetProductPerformance analyzes product performance
packages/mongodb/challenge-3-aggregation-pipeline/submissions/RezaSi/solution.go:255
Method
GetProductRPC
gRPC method handlers for ProductService
challenge-14/solution-template.go:139
Method
GetProductRPC
gRPC method handlers for ProductService
challenge-14/submissions/odelbos/solution-template.go:149
Method
GetProductRPC
gRPC method handlers for ProductService
challenge-14/submissions/Kosench/solution-template.go:145
Method
GetProductRPC
gRPC method handlers for ProductService
challenge-14/submissions/PopovMarko/solution-template.go:145
Method
GetProductRPC
gRPC method handlers for ProductService
challenge-14/submissions/shivamarora1/solution-template.go:150
Method
GetProductRPC
gRPC method handlers for ProductService
challenge-14/submissions/mick4711/solution-template.go:150
Method
GetProductRPC
gRPC method handlers for ProductService
challenge-14/submissions/PolinaSvet/solution-template.go:155
Method
GetProductRPC
gRPC method handlers for ProductService
challenge-14/submissions/y1hao/solution-template.go:147
Method
GetProductRPC
gRPC method handlers for ProductService
challenge-14/submissions/ashwinipatankar/solution-template.go:153
Method
GetProductRPC
gRPC method handlers for ProductService
challenge-14/submissions/Cpoing/solution-template.go:153
Method
GetProductRPC
gRPC method handlers for ProductService
challenge-14/submissions/JackDalberg/solution-template.go:150
Method
GetProductRPC
gRPC method handlers for ProductService
challenge-14/submissions/kuzminprog/solution-template.go:144
Function
GetProductsByCategory
(db *gorm.DB, categoryID uint)
packages/gorm/challenge-3-migrations/submissions/odelbos/solution.go:276
Function
GetProductsByCategory
(db *gorm.DB, categoryID uint)
packages/gorm/challenge-3-migrations/submissions/imankhodadi/solution.go:305
Method
GetProductsSorted
GetProductsSorted retrieves products with custom sorting
packages/mongodb/challenge-2-queries-filtering/solution-template.go:157
Method
GetRevenueByMonth
GetRevenueByMonth calculates monthly revenue
packages/mongodb/challenge-3-aggregation-pipeline/submissions/RezaSi/solution.go:158
Method
GetSalesByCategory
GetSalesByCategory calculates total sales per category using aggregation
packages/mongodb/challenge-3-aggregation-pipeline/submissions/RezaSi/solution.go:74
Method
GetScoreboard
GetScoreboard returns the scoreboard for a specific challenge
web-ui/internal/services/scoreboard.go:126
Method
GetSponsorsDebug
GetSponsorsDebug returns current sponsors for debugging
web-ui/internal/handlers/api.go:1263
Method
GetState
GetState returns the current state of the circuit breaker
challenge-20/solution-template.go:116
Method
GetState
GetState returns the current state of the circuit breaker
challenge-20/submissions/odelbos/solution-template.go:133
Method
GetState
GetState returns the current state of the circuit breaker
challenge-20/submissions/hudazaan/solution-template.go:130
Method
GetState
GetState returns the current state of the circuit breaker
challenge-20/submissions/hvijaycse/solution-template.go:150
Method
GetState
GetState returns the current state of the circuit breaker
challenge-20/submissions/manik23/solution-template.go:156
Method
GetState
()
challenge-20/submissions/imankhodadi/solution-template.go:233
Method
GetState
GetState returns the current state of the circuit breaker
challenge-20/submissions/amrshaban2005/solution-template.go:172
Method
GetState
GetState returns the current state of the circuit breaker
challenge-20/submissions/YounesBouchbouk/solution-template.go:127
Method
GetState
GetState returns the current state of the circuit breaker.
challenge-20/submissions/anhvu2001ct/solution-template.go:80
Method
GetState
GetState returns the current state of the circuit breaker in a thread-safe manner.
challenge-20/submissions/anhvu2001ct/solution-template.go:164
Method
GetState
GetState returns the current state of the circuit breaker
challenge-20/submissions/mvsouza/solution-template.go:140
Method
GetState
GetState returns the current state of the circuit breaker
challenge-20/submissions/mick4711/solution-template.go:152
Method
GetState
GetState returns the current state of the circuit breaker
challenge-20/submissions/PolinaSvet/solution-template.go:206
Method
GetState
GetState returns the current state of the circuit breaker
challenge-20/submissions/y1hao/solution-template.go:136
Method
GetState
GetState returns the current state of the circuit breaker
challenge-20/submissions/PureTeamLead/solution-template.go:143
Method
GetState
GetState returns the current state of the circuit breaker
challenge-20/submissions/Onkar-25/solution-template.go:131
Method
GetState
()
challenge-20/submissions/nzamulov/solution-template.go:63
← previous
next →
7,101–7,200 of 12,886, ranked by callers