fix: add missing cmd to git
This commit is contained in:
14
.gitignore
vendored
14
.gitignore
vendored
@@ -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
14
cmd/ddbb/main.go
Normal 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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user