From 6d449ebb14aa51c369658b85563e9a87b38d9f2e Mon Sep 17 00:00:00 2001 From: justusbunsi <61625851+justusbunsi@users.noreply.github.com> Date: Sun, 20 Jun 2021 15:14:26 +0200 Subject: [PATCH] Respect common go project structure Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com> --- .editorconfig | 12 +++++++----- .gitignore | 10 +++++----- README.md | 2 +- {assets => docs}/workflow.drawio | 0 {assets => docs}/workflow.png | Bin 5 files changed, 13 insertions(+), 11 deletions(-) rename {assets => docs}/workflow.drawio (100%) rename {assets => docs}/workflow.png (100%) diff --git a/.editorconfig b/.editorconfig index 6cbaf1e..b4fc9e6 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,13 +1,15 @@ root = true [*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true indent_style = space indent_size = 2 -tab_width = 2 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true + +[{*.go,Makefile,.gitmodules,go.mod,go.sum}] +indent_style = tab [*.md] trim_trailing_whitespace = false diff --git a/.gitignore b/.gitignore index deac53c..bb63e77 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ -.git/ -.idea/ -node_modules/ -vendor/ -config/ +/.git/ +/.idea/ +/config/ +/vendor/ +/gitea-sonarqube-bot diff --git a/README.md b/README.md index b33b93f..cbd7ae9 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Luckily, both endpoints have a proper REST API to communicate with each others. ## Workflow -![Workflow](assets/workflow.png) +![Workflow](docs/workflow.png) **Insights** diff --git a/assets/workflow.drawio b/docs/workflow.drawio similarity index 100% rename from assets/workflow.drawio rename to docs/workflow.drawio diff --git a/assets/workflow.png b/docs/workflow.png similarity index 100% rename from assets/workflow.png rename to docs/workflow.png