From 3d734673ff6a269100b6d9797af76f214cdabcb4 Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Tue, 2 Jan 2024 18:53:38 +0100 Subject: [PATCH] feat: initial commit Signed-off-by: Vojtech Mares --- .editorconfig | 13 +++++++++++++ README.md | 5 +++++ go.mod | 3 +++ main.go | 10 ++++++++++ 4 files changed, 31 insertions(+) create mode 100644 .editorconfig create mode 100644 README.md create mode 100644 go.mod create mode 100644 main.go diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..87a0020 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +end_of_line = lf +max_line_length = null + +[Makefile] +indent_style = tab diff --git a/README.md b/README.md new file mode 100644 index 0000000..535a9a9 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# Backoffice API + +A Go backend server with REST API interface for my (freelancer's) backoffice. + +Primary goal is to help organize myself and trainings. diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..e7461e8 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module gitlab.mareshq.com/hq/backoffice/backoffice-api + +go 1.21.5 diff --git a/main.go b/main.go new file mode 100644 index 0000000..4c8e29e --- /dev/null +++ b/main.go @@ -0,0 +1,10 @@ +package main + +import "fmt" + +func main() { + fmt.Println("Hello from backoffice api") + for { + // do nothing, simulate a running server + } +}