add .gitignore

This commit is contained in:
Fran Jurmanović
2024-07-09 23:48:59 +02:00
parent 1bb73c866a
commit df70999d13
2 changed files with 37 additions and 2 deletions

36
.gitignore vendored Normal file
View File

@@ -0,0 +1,36 @@
# ---> Go
# Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
*.so
# Folders
_obj
_test
vendor
bin
.vscode
.idea
.env
# Architecture specific extensions/prefixes
*.[568vq]
[568vq].out
*.cgo1.go
*.cgo2.c
_cgo_defun.c
_cgo_gotypes.go
_cgo_export.*
_testmain.go
*.exe
*.test
*.prof
# .Dockerfile
logs.log
querys.log

View File

@@ -21,9 +21,8 @@ func Routes(app *fiber.App) {
c := dig.New()
groups := app.Group(configs.Prefix)
apiGroup := groups.Group("api")
routeGroups := &common.RouteGroups{
Api: apiGroup,
Api: groups.Group("api"),
}
c.Provide(func() *common.RouteGroups {