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
public-templates
golang-template
gin-template-project
Merge requests
!2
An error occurred while fetching the assigned milestone of the selected merge_request.
added gitignore file and also changes config path in compose file.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
added gitignore file and also changes config path in compose file.
SG_gitignore
into
main
Overview
0
Commits
1
Pipelines
0
Changes
4
Merged
Somnath Ghorpade
requested to merge
SG_gitignore
into
main
9 months ago
Overview
0
Commits
1
Pipelines
0
Changes
4
Expand
#1
0
0
Merge request reports
Viewing commit
3cefbbbd
Show latest version
4 files
+
13
−
4
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
Search (e.g. *.vue) (Ctrl+P)
3cefbbbd
added gitignore file and also changes config path in compose file.
· 3cefbbbd
Somnath Ghorpade
authored
9 months ago
servers/main.go
+
1
−
2
Options
@@ -8,7 +8,6 @@ import (
"golangtemplate/servers/common"
"golangtemplate/servers/middleware"
"golangtemplate/servers/routes"
"io/ioutil"
"net"
"os"
"path/filepath"
@@ -108,7 +107,7 @@ func initializeAll(g *gin.Engine) error {
routes
.
Init
(
g
)
// read file and initialise mongo connection
content
,
err
:=
ioutil
.
ReadFile
(
models
.
ConfigPath
)
content
,
err
:=
os
.
ReadFile
(
models
.
ConfigPath
)
if
err
!=
nil
{
loggermdl
.
LogError
(
err
)
return
err
Menu
Explore
Projects
Groups
Topics
Snippets