add .gitignore
This commit is contained in:
36
.gitignore
vendored
Normal file
36
.gitignore
vendored
Normal 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
|
||||||
@@ -21,9 +21,8 @@ func Routes(app *fiber.App) {
|
|||||||
c := dig.New()
|
c := dig.New()
|
||||||
groups := app.Group(configs.Prefix)
|
groups := app.Group(configs.Prefix)
|
||||||
|
|
||||||
apiGroup := groups.Group("api")
|
|
||||||
routeGroups := &common.RouteGroups{
|
routeGroups := &common.RouteGroups{
|
||||||
Api: apiGroup,
|
Api: groups.Group("api"),
|
||||||
}
|
}
|
||||||
|
|
||||||
c.Provide(func() *common.RouteGroups {
|
c.Provide(func() *common.RouteGroups {
|
||||||
|
|||||||
Reference in New Issue
Block a user