Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpcs
dfss
Commits
a7c4c50d
Commit
a7c4c50d
authored
Jan 22, 2016
by
Axel
Browse files
US-177: gofmt
parent
6a8cdbeb
Pipeline
#164
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dfssp/main.go
View file @
a7c4c50d
...
...
@@ -10,14 +10,14 @@ import (
)
var
(
verbose
bool
verbose
bool
// Private key and certificate
path
,
country
,
org
,
unit
,
cn
string
keySize
,
validity
int
pid
*
authority
.
PlatformID
// MongoDB connection
dbName
,
dbEnvVarName
string
dbManager
*
mgdb
.
MongoManager
dbName
,
dbEnvVarName
string
dbManager
*
mgdb
.
MongoManager
)
func
init
()
{
...
...
@@ -81,7 +81,7 @@ func main() {
}
// TODO: use pid
_
=
pid
dbManager
,
err
:=
mgdb
.
NewManager
(
dbName
,
dbEnvVarName
)
if
err
!=
nil
{
fmt
.
Println
(
"An error occured during the connection to Mongo DB"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment