diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2023-12-26 06:31:18 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2023-12-26 06:31:18 +0530 |
commit | 36cd2854d0cfbe0345623deadbfbde77c974d80c (patch) | |
tree | bcd8e4e2a8f0e056e0358b18b87c95be49f9bfbf | |
parent | 1be3ab5a61f4d8f1d06d3b99a864bba71dd2d9cc (diff) |
README.md & handler: gofmt and removing redundant flag
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | handlers/handlers.go | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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" ) |