1
0
Fork 0

refactor: move app entrypoint to ./cmd/server

This commit is contained in:
Vojtěch Mareš 2024-02-28 20:59:15 +01:00
parent bb8e1aceb1
commit 63cc8628bc
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
3 changed files with 18 additions and 13 deletions

15
cmd/server/main.go Normal file
View file

@ -0,0 +1,15 @@
package main
import (
"log"
"time"
)
func main() {
log.Println("Starting backoffice-api server...")
log.Println("Simulating a running server...")
// do nothing, simulate a running server
for {
time.Sleep(1 * time.Second)
}
}