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
Commits
55c98074
Commit
55c98074
authored
5 months ago
by
Vijay Kumar Chauhan
Browse files
Options
Downloads
Plain Diff
Merge branch 'SG_Mongo_Deprecate' into 'devbranch'
#28
Deprecated mongodb package. See merge request
!291
parents
6be2345f
2797d1ef
Branches
Branches containing commit
Tags
Tags containing commit
4 merge requests
!302
merge devbranch into staging
,
!299
Devbranch
,
!296
merge devbranch to staging.
,
!291
#28 Deprecated mongodb package.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dalmdl/mongodb/mongodb.go
+2
-1
dalmdl/mongodb/mongodb.go
with
2 additions
and
1 deletion
dalmdl/mongodb/mongodb.go
+
2
−
1
View file @
55c98074
// 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
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets