chore: remove template occurrences

This commit is contained in:
ITQ
2025-12-16 13:34:53 +03:00
parent 7eb44e9bde
commit 7f267f61f4
7 changed files with 3 additions and 44 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
# Order service # Datarush
Golang microservice to manage orders. Data analysis contest management system
## Prerequisites ## Prerequisites
@@ -1 +0,0 @@
drop table if exists orders;
@@ -1,5 +0,0 @@
create table if not exists orders (
id uuid primary key,
item varchar(500) not null,
quantity integer not null check (quantity > 0)
);
-35
View File
@@ -1,35 +0,0 @@
package main
import (
"log"
"os"
"os/signal"
"syscall"
"datarush/internal/lms/config"
"datarush/internal/lms/server"
)
func main() {
cfg, err := config.Load()
if err != nil {
log.Fatalf("failed to load config: %v", err)
}
srv := server.New(cfg)
srv.RegisterServices()
go func() {
if err := srv.Start(); err != nil {
log.Fatalf("failed to start server: %v", err)
}
}()
quit := make(chan os.Signal, 1)
signal.Notify(quit, syscall.SIGINT, syscall.SIGTERM)
<-quit
log.Println("shutting down server...")
srv.Stop()
log.Println("server stopped")
}
+1 -1
View File
@@ -1,4 +1,4 @@
name: order name: datarush
services: services:
auth: auth: