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
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/shansing/solution-template.go:279
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/KhaledMosaad/solution-template.go:327
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/t4e1/solution-template.go:300
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/maket12/solution-template.go:294
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/Gandook/solution-template.go:277
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/JackDalberg/solution-template.go:263
Function
FindUsersByAgeRange
(ctx context.Context, db *gorm.DB, minAge, maxAge int)
packages/gorm/challenge-5-generics/submissions/odelbos/solution.go:84
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/jrbarbati/solution-template.go:131
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/odelbos/solution-template.go:116
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/kiramux/solution-template.go:129
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/hvijaycse/solution-template.go:124
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/PopovMarko/solution-template.go:140
Method
Front
()
challenge-27/submissions/imankhodadi/solution-template.go:90
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/YounesBouchbouk/solution-template.go:144
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/mvsouza/solution-template.go:119
Method
Front
()
challenge-27/submissions/Ali-Fartoot/solution-template.go:91
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/mick4711/solution-template.go:136
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/PolinaSvet/solution-template.go:173
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/y1hao/solution-template.go:121
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/cep-ter/solution-template.go:125
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/AkifhanIlgaz/solution-template.go:124
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/xyersh/solution-template.go:157
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/Johrespi/solution-template.go:138
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/grozdovk/solution-template.go:138
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/ashwinipatankar/solution-template.go:163
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/diyorich/solution-template.go:119
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/shansing/solution-template.go:128
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/KhaledMosaad/solution-template.go:149
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/t4e1/solution-template.go:132
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/maket12/solution-template.go:129
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/nzamulov/solution-template.go:118
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/Gandook/solution-template.go:135
Method
Front
Front returns the front element without removing it Returns an error if the queue is empty
challenge-27/submissions/JackDalberg/solution-template.go:123
Method
Get
Get retrieves a value from the cache
packages/gin/challenge-2-middleware/submissions/father-frog/solution.go:70
Method
Get
(key string)
challenge-28/submissions/odelbos/solution-template.go:11
Method
Get
(key string)
challenge-28/submissions/odelbos/solution-template.go:60
Method
Get
(key string)
challenge-28/submissions/odelbos/solution-template.go:154
Method
Get
(key string)
challenge-28/submissions/odelbos/solution-template.go:289
Method
Get
(key string)
challenge-28/submissions/odelbos/solution-template.go:367
Method
Get
Get retrieves a value by key. Returns the value and true if found, or nil and false if the key does not exist.
challenge-28/submissions/PopovMarko/solution-template.go:16
Method
Get
Get returns the value for key and moves the accessed node to the MRU position.
challenge-28/submissions/PopovMarko/solution-template.go:175
Method
Get
Get returns the value for key and increments its access frequency. The node is moved from its current frequency bucket to the freq+1 bucket.
challenge-28/submissions/PopovMarko/solution-template.go:400
Method
Get
Get returns the value for key. In FIFO semantics, reads do not affect eviction order.
challenge-28/submissions/PopovMarko/solution-template.go:595
Method
Get
Get acquires the lock and delegates to the underlying cache. A write lock is used because LRU/LFU Get modifies node order internally.
challenge-28/submissions/PopovMarko/solution-template.go:710
Method
Get
(key string)
challenge-28/submissions/imankhodadi/solution-template.go:10
Method
Get
(key string)
challenge-28/submissions/imankhodadi/solution-template.go:93
Method
Get
(key string)
challenge-28/submissions/imankhodadi/solution-template.go:418
Method
Get
(key string)
challenge-28/submissions/imankhodadi/solution-template.go:511
Method
Get
(key string)
challenge-28/submissions/mvsouza/solution-template.go:10
Method
Get
(key string)
challenge-28/submissions/mvsouza/solution-template.go:76
Method
Get
(key string)
challenge-28/submissions/mvsouza/solution-template.go:175
Method
Get
(key string)
challenge-28/submissions/mvsouza/solution-template.go:291
Method
Get
(key string)
challenge-28/submissions/mvsouza/solution-template.go:358
Method
Get
(key string)
challenge-28/submissions/PolinaSvet/solution-template.go:9
Method
Get
(key string)
challenge-28/submissions/PolinaSvet/solution-template.go:107
Method
Get
(key string)
challenge-28/submissions/PolinaSvet/solution-template.go:342
Method
Get
(key string)
challenge-28/submissions/PolinaSvet/solution-template.go:517
Method
Get
(key string)
challenge-28/submissions/PolinaSvet/solution-template.go:628
Method
Get
(key string)
challenge-28/submissions/nzamulov/solution-template.go:132
Method
Get
(key string)
challenge-28/submissions/nzamulov/solution-template.go:247
Method
Get
(key string)
challenge-28/submissions/nzamulov/solution-template.go:360
Method
Get
(key string)
challenge-28/submissions/nzamulov/solution-template.go:428
Method
GetAll
()
packages/gin/challenge-1-basic-routing/submissions/PolinaSvet/solution.go:102
Method
GetAll
Helper methods for TaskStore GetAll returns all tasks
packages/fiber/challenge-1-basic-routing/solution-template.go:111
Method
GetAll
Helper methods for TaskStore GetAll returns all tasks
packages/fiber/challenge-1-basic-routing/submissions/odelbos/solution.go:117
Method
GetAll
()
packages/fiber/challenge-1-basic-routing/submissions/0xSangeet/solution.go:108
Method
GetAll
Helper methods for TaskStore GetAll returns all tasks
packages/fiber/challenge-1-basic-routing/submissions/RezaSi/solution.go:141
Method
GetAll
()
challenge-9/solution-template.go:30
Method
GetAll
()
challenge-9/submissions/odelbos/solution-template.go:27
Method
GetAll
Implement BookRepository methods for InMemoryBookRepository
challenge-9/submissions/odelbos/solution-template.go:50
Method
GetAll
()
challenge-9/submissions/Kosench/solution-template.go:43
Method
GetAll
()
challenge-9/submissions/Kosench/solution-template.go:66
Method
GetAll
()
challenge-9/submissions/PopovMarko/solution-template.go:37
Method
GetAll
Implement BookRepository interface methods for InMemoryBookRepository entity GetAll returns slice of pointers on Book or error
challenge-9/submissions/PopovMarko/solution-template.go:61
Method
GetAll
()
challenge-9/submissions/imankhodadi/solution-template.go:26
Method
GetAll
()
challenge-9/submissions/imankhodadi/solution-template.go:86
Method
GetAll
()
challenge-9/submissions/nosrio/solution-template.go:27
Method
GetAll
Implement BookRepository methods for InMemoryBookRepository
challenge-9/submissions/nosrio/solution-template.go:55
Method
GetAll
()
challenge-9/submissions/mvsouza/solution-template.go:34
Method
GetAll
()
challenge-9/submissions/mvsouza/solution-template.go:56
Method
GetAll
()
challenge-9/submissions/mick4711/solution-template.go:38
Method
GetAll
Implement BookRepository methods for InMemoryBookRepository
challenge-9/submissions/mick4711/solution-template.go:61
Method
GetAll
()
challenge-9/submissions/ne0phyte/solution-template.go:28
Method
GetAll
()
challenge-9/submissions/ne0phyte/solution-template.go:50
Method
GetAll
()
challenge-9/submissions/PolinaSvet/solution-template.go:36
Method
GetAll
()
challenge-9/submissions/PolinaSvet/solution-template.go:105
Method
GetAll
()
challenge-9/submissions/brenoamin/solution-template.go:28
Method
GetAll
Implement BookRepository methods for InMemoryBookRepository ...
challenge-9/submissions/brenoamin/solution-template.go:52
Method
GetAll
()
challenge-9/submissions/kushalShukla-web/solution-template.go:45
Method
GetAll
()
challenge-9/submissions/kushalShukla-web/solution-template.go:72
Method
GetAll
()
challenge-9/submissions/ashwinipatankar/solution-template.go:26
Method
GetAll
()
challenge-9/submissions/ashwinipatankar/solution-template.go:63
Method
GetAll
()
challenge-9/submissions/nzamulov/solution-template.go:28
Method
GetAll
()
challenge-9/submissions/nzamulov/solution-template.go:53
Method
GetAll
()
challenge-9/submissions/Cpoing/solution-template.go:25
Method
GetAll
Implement BookRepository methods for InMemoryBookRepository ...
challenge-9/submissions/Cpoing/solution-template.go:50
Method
GetAll
Implement BookRepository methods for InMemoryBookRepository
challenge-9/submissions/Gandook/solution-template.go:49
Method
GetAllBooks
()
challenge-9/solution-template.go:57
Method
GetAllBooks
()
challenge-9/submissions/odelbos/solution-template.go:126
Method
GetAllBooks
Implement BookService methods for DefaultBookService
challenge-9/submissions/odelbos/solution-template.go:146
← previous
next →
6,801–6,900 of 12,886, ranked by callers