Skip to content

Commit

Permalink
addressed linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
RabbITCybErSeC committed Jun 21, 2024
1 parent d6bf13d commit 7823e48
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion server/main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package main

import (
"fmt"

"soarca-gui/routes"

"github.com/gin-gonic/gin"
Expand All @@ -15,5 +17,9 @@ func main() {
app := gin.Default()
routes.Setup(app)

app.Run(":8081")
err := app.Run(":8081")
if err != nil {
fmt.Println("failed to start server")
}
fmt.Println("exit")
}

0 comments on commit 7823e48

Please sign in to comment.