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
2797d1ef
Commit
2797d1ef
authored
8 months ago
by
Somnath Ghorpade
Browse files
Options
Downloads
Patches
Plain Diff
Deprecated mongodb package.
parent
5c31ae9e
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 @
2797d1ef
// 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