diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ef64353 --- /dev/null +++ b/.gitignore @@ -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 \ No newline at end of file diff --git a/local/api/routes.go b/local/api/routes.go index c630bf8..0bf4fe9 100644 --- a/local/api/routes.go +++ b/local/api/routes.go @@ -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 {