added gitignore file and also changes config path in compose file.

Merged Somnath Ghorpade requested to merge SG_gitignore into main
Viewing commit 3cefbbbd
Show latest version
4 files
+ 13
4
Preferences
File browser
Compare changes
+ 1
2
@@ -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