Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
MKCLOS
Core Development Platform
corepkgv2
Merge requests
!291
#28
Deprecated mongodb package.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
#28
Deprecated mongodb package.
SG_Mongo_Deprecate
into
devbranch
Overview
1
Commits
1
Pipelines
0
Changes
1
Merged
Somnath Ghorpade
requested to merge
SG_Mongo_Deprecate
into
devbranch
5 months ago
Overview
1
Commits
1
Pipelines
0
Changes
1
Expand
#28
0
0
Merge request reports
Compare
devbranch
devbranch (base)
and
latest version
latest version
2797d1ef
1 commit,
5 months ago
1 file
+
2
−
1
Expand all files
Preferences
File browser
List view
Tree view
Compare changes
Inline
Side-by-side
Show whitespace changes
Show one file at a time
dalmdl/mongodb/mongodb.go
+
2
−
1
Options
// Deprecated: As of corepkgv2 tag 1.2.15 onwards no longer maintained,simply use coremongo and in future it will be removed.
package
mongodb
import
(
@@ -159,7 +160,7 @@ func InitNewSession(hostDetails MongoHost) error {
return
nil
}
//GetMongoConnection method
//
GetMongoConnection method
func
GetMongoConnection
(
hostName
string
)
(
*
mgo
.
Session
,
error
)
{
defer
mutex
.
Unlock
()
mutex
.
Lock
()
Menu
Explore
Projects
Groups
Topics
Snippets