summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-12-26 06:31:18 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-12-26 06:31:18 +0530
commit36cd2854d0cfbe0345623deadbfbde77c974d80c (patch)
treebcd8e4e2a8f0e056e0358b18b87c95be49f9bfbf
parent1be3ab5a61f4d8f1d06d3b99a864bba71dd2d9cc (diff)
README.md & handler: gofmt and removing redundant flag
-rw-r--r--README.md2
-rw-r--r--handlers/handlers.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 2643d5b..046a933 100644
--- a/README.md
+++ b/README.md
@@ -54,7 +54,7 @@ To get started with this project, follow these steps:
b. **Build and Run:**
```bash
- CGO_ENABLED=1 go build -o main .
+ go build -o main .
./main
```
This sequence of commands builds the application and then runs the compiled binary `main`.
diff --git a/handlers/handlers.go b/handlers/handlers.go
index cca1705..c15da0a 100644
--- a/handlers/handlers.go
+++ b/handlers/handlers.go
@@ -5,8 +5,8 @@ import (
"github.com/justsaumit/go-fis-api/models"
"github.com/justsaumit/go-fis-api/utils"
"github.com/labstack/echo/v4"
- _ "modernc.org/sqlite"
"log"
+ _ "modernc.org/sqlite"
"net/http"
)