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
ConnectDB
ConnectDB establishes a connection to the SQLite database
packages/gorm/challenge-1-crud-operations/submissions/22-7-co/solution.go:21
Function
ConnectDB
ConnectDB establishes a connection to the SQLite database
packages/gorm/challenge-1-crud-operations/submissions/grozdovk/solution.go:23
Function
ConnectDB
ConnectDB establishes a connection to the SQLite database
packages/gorm/challenge-1-crud-operations/submissions/Kinsue/solution.go:21
Function
ConnectDB
ConnectDB establishes a connection to the SQLite database
packages/gorm/challenge-1-crud-operations/submissions/shansing/solution.go:23
Function
ConnectDB
ConnectDB establishes a connection to the SQLite database and migrates the User schema
packages/gorm/challenge-1-crud-operations/submissions/RezaSi/solution.go:22
Function
ConnectDB
ConnectDB establishes a connection to the SQLite database
packages/gorm/challenge-1-crud-operations/submissions/Onkar-25/solution.go:22
Function
ConnectDB
ConnectDB establishes a connection to the SQLite database
packages/gorm/challenge-1-crud-operations/submissions/zylbeyondlimits/solution.go:21
Function
ConnectDB
ConnectDB establishes a connection to the SQLite database
packages/gorm/challenge-1-crud-operations/submissions/aswinsreeraj/solution.go:21
Function
ConnectDB
()
packages/gorm/challenge-2-associations/submissions/odelbos/solution.go:39
Function
ConnectDB
()
packages/gorm/challenge-2-associations/submissions/imankhodadi/solution.go:36
Function
ConnectDB
ConnectDB establishes a connection to the SQLite database and auto-migrates the models
packages/gorm/challenge-2-associations/submissions/grozdovk/solution.go:42
Function
ConnectDB
ConnectDB establishes a connection to the SQLite database and auto-migrates the models
packages/gorm/challenge-2-associations/submissions/Onkar-25/solution.go:41
Function
ConnectDB
ConnectDB establishes a connection to the SQLite database and auto-migrates the models
packages/gorm/challenge-2-associations/submissions/aswinsreeraj/solution.go:40
Function
ConnectDB
ConnectDB establishes a connection to the SQLite database
packages/gorm/challenge-3-migrations/submissions/odelbos/solution.go:110
Function
ConnectDB
ConnectDB establishes a connection to the SQLite database
packages/gorm/challenge-3-migrations/submissions/imankhodadi/solution.go:140
Function
ConnectMongoDB
ConnectMongoDB establishes connection to MongoDB
packages/mongodb/challenge-1-connection-crud/solution-template.go:119
Function
ConnectMongoDB
ConnectMongoDB establishes connection to MongoDB with transaction support
packages/mongodb/challenge-5-transactions-advanced/solution-template.go:240
Function
ConnectMongoDB
ConnectMongoDB establishes connection to MongoDB
packages/mongodb/challenge-4-indexing-performance/solution-template.go:216
Function
ConnectMongoDB
ConnectMongoDB establishes connection to MongoDB
packages/mongodb/challenge-3-aggregation-pipeline/solution-template.go:173
Function
ConnectMongoDB
ConnectMongoDB establishes connection to MongoDB
packages/mongodb/challenge-3-aggregation-pipeline/submissions/RezaSi/solution.go:344
Function
ConnectToServices
Connect to both services and return an OrderService
challenge-14/submissions/odelbos/solution-template.go:398
Function
ConnectToServices
Connect to both services and return an OrderService
challenge-14/submissions/Kosench/solution-template.go:438
Function
ConnectToServices
Connect to both services and return an OrderService
challenge-14/submissions/PopovMarko/solution-template.go:433
Function
ConnectToServices
Connect to both services and return an OrderService
challenge-14/submissions/shivamarora1/solution-template.go:402
Function
ConnectToServices
Connect to both services and return an OrderService
challenge-14/submissions/czysiaczek/solution-template.go:367
Function
ConnectToServices
Connect to both services and return an OrderService
challenge-14/submissions/mvsouza/solution-template.go:437
Function
ConnectToServices
Connect to both services and return an OrderService
challenge-14/submissions/mick4711/solution-template.go:401
Function
ConnectToServices
Connect to both services and return an OrderService
challenge-14/submissions/PolinaSvet/solution-template.go:413
Function
ConnectToServices
Connect to both services and return an OrderService
challenge-14/submissions/y1hao/solution-template.go:399
Function
ConnectToServices
Connect to both services and return an OrderService
challenge-14/submissions/longbui98/solution-template.go:378
Function
ConnectToServices
Connect to both services and return an OrderService
challenge-14/submissions/ashwinipatankar/solution-template.go:411
Function
ConnectToServices
Connect to both services and return an OrderService
challenge-14/submissions/nzamulov/solution-template.go:370
Function
ConnectToServices
Connect to both services and return an OrderService
challenge-14/submissions/Cpoing/solution-template.go:406
Function
ConnectToServices
Connect to both services and return an OrderService
challenge-14/submissions/JackDalberg/solution-template.go:402
Function
ConnectToServices
Connect to both services and return an OrderService
challenge-14/submissions/kuzminprog/solution-template.go:385
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/jrbarbati/solution-template.go:286
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/odelbos/solution-template.go:246
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/kiramux/solution-template.go:262
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/hvijaycse/solution-template.go:282
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/PopovMarko/solution-template.go:315
Function
Contains
(slice []T, element T)
challenge-27/submissions/imankhodadi/solution-template.go:198
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/mvsouza/solution-template.go:257
Function
Contains
(slice []T, element T)
challenge-27/submissions/Ali-Fartoot/solution-template.go:205
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/mick4711/solution-template.go:296
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/PolinaSvet/solution-template.go:343
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/y1hao/solution-template.go:252
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/cep-ter/solution-template.go:260
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/AkifhanIlgaz/solution-template.go:263
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/xyersh/solution-template.go:297
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/ImHotDog/solution-template.go:301
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/Johrespi/solution-template.go:314
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/grozdovk/solution-template.go:292
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/ashwinipatankar/solution-template.go:335
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/diyorich/solution-template.go:261
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/shansing/solution-template.go:269
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/KhaledMosaad/solution-template.go:316
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/t4e1/solution-template.go:290
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/maket12/solution-template.go:284
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/nzamulov/solution-template.go:249
Function
Contains
Contains returns true if the slice contains the given element
challenge-27/submissions/Gandook/solution-template.go:267
Method
Contains
Contains returns true if the set contains the given element
challenge-27/submissions/jrbarbati/solution-template.go:183
Method
Contains
Contains returns true if the set contains the given element
challenge-27/submissions/AkifhanIlgaz/solution-template.go:171
Method
Contains
Contains returns true if the set contains the given element
challenge-27/submissions/grozdovk/solution-template.go:191
Method
Contains
Contains returns true if the set contains the given element
challenge-27/submissions/diyorich/solution-template.go:165
Method
Contains
Contains returns true if the set contains the given element
challenge-27/submissions/t4e1/solution-template.go:189
Function
ConvertFormat
(targetFormat string)
packages/cobra/challenge-4-advanced-features/submissions/odelbos/solution.go:465
Function
ConvertFormat
ConvertFormat converts configuration to specified format
packages/cobra/challenge-4-advanced-features/submissions/PolinaSvet/solution.go:726
Method
CountProductsByCategory
CountProductsByCategory counts products in each category
packages/mongodb/challenge-2-queries-filtering/solution-template.go:235
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/BrianHuang813/solution-template.go:21
Function
CountWordFrequency
(text string)
challenge-6/submissions/yz4230/solution-template.go:14
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/jrbarbati/solution-template.go:25
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/4m4x/solution-template.go:20
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/odelbos/solution-template.go:20
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/duplabe/solution-template.go:20
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/kiramux/solution-template.go:21
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/shhuzen/solution-template.go:22
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/clgp-aint-cool/solution-template.go:21
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/berkaykrc/solution-template.go:20
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/hudazaan/solution-template.go:11
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/aruncs31s/solution-template.go:22
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/maulana48/solution-template.go:21
Function
CountWordFrequency
(text string)
challenge-6/submissions/Kosench/solution-template.go:24
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/shahzodshafizod/solution-template.go:20
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/PopovMarko/solution-template.go:21
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/JarhsonNing/solution-template.go:20
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/Alibiderci/solution-template.go:21
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/himanshum9/solution-template.go:21
Function
CountWordFrequency
(text string)
challenge-6/submissions/rodney-b/solution-template.go:12
Function
CountWordFrequency
(text string)
challenge-6/submissions/mihir1737/solution-template.go:37
Function
CountWordFrequency
(text string)
challenge-6/submissions/Francky999/solution-template.go:12
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/jeffreyyjp/solution-template.go:21
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/ansmonjol/solution-template.go:20
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/timlkko/solution-template.go:21
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/Hikitak/solution-template.go:19
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/manik23/solution-template.go:21
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/Be1chenok/solution-template.go:20
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/MYK12397/solution-template.go:21
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/bmamha/solution-template.go:23
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/jasonnfeng/solution-template.go:19
Function
CountWordFrequency
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/richcem/solution-template.go:21
← previous
next →
5,701–5,800 of 12,886, ranked by callers