feat: initial commit
Signed-off-by: Vojtech Mares <iam@vojtechmares.com>
This commit is contained in:
commit
3d734673ff
4 changed files with 31 additions and 0 deletions
13
.editorconfig
Normal file
13
.editorconfig
Normal file
|
|
@ -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
|
||||||
5
README.md
Normal file
5
README.md
Normal file
|
|
@ -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.
|
||||||
3
go.mod
Normal file
3
go.mod
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
module gitlab.mareshq.com/hq/backoffice/backoffice-api
|
||||||
|
|
||||||
|
go 1.21.5
|
||||||
10
main.go
Normal file
10
main.go
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import "fmt"
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
fmt.Println("Hello from backoffice api")
|
||||||
|
for {
|
||||||
|
// do nothing, simulate a running server
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in a new issue