From df70999d13132c2f5b685d2741a67691f12d5324 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=20Jurmanovi=C4=87?= Date: Tue, 9 Jul 2024 23:48:59 +0200 Subject: [PATCH] add .gitignore --- .gitignore | 36 ++++++++++++++++++++++++++++++++++++ local/api/routes.go | 3 +-- 2 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 .gitignore 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 {