fix: add missing cmd to git

This commit is contained in:
2025-11-05 16:28:09 +01:00
parent 9b52a7c4ea
commit acc7fb6424
2 changed files with 21 additions and 7 deletions

14
.gitignore vendored
View File

@@ -1,8 +1,8 @@
backups/
config.yaml
backups
./config.yaml
compose.yaml
ddbb
*.sql
*.bson
*.archive
*.gz
./ddbb
./*.sql
./*.bson
./*.archive
./*.gz

14
cmd/ddbb/main.go Normal file
View File

@@ -0,0 +1,14 @@
package main
import (
api "ddbb/pkg/api"
"log"
)
func main() {
r := api.SetupRouter()
err := r.Run(":12345")
if err != nil {
log.Fatalf("API fatal error: %v", err)
}
}